Skip to content

Commit

Permalink
don't spread classname into AlertDialog.Content
Browse files Browse the repository at this point in the history
I accidentally removed this destructuring in #46, bringing it back
  • Loading branch information
threepointone committed Jun 14, 2024
1 parent facb633 commit 762a842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/AlertDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Overlay.displayName = 'Overlay'
export const Content = forwardRef<
HTMLDivElement,
AlertDialog.AlertDialogContentProps
>(({ children, ...rest }, ref) => (
>(({ className: _className, children, ...rest }, ref) => (
<AlertDialog.Content
ref={ref}
className={cn(
Expand Down

0 comments on commit 762a842

Please sign in to comment.