Skip to content

Commit

Permalink
Merge pull request #51 from cloudflare/alert-dialog-classname-spread
Browse files Browse the repository at this point in the history
don't spread classname into AlertDialog.Content
  • Loading branch information
threepointone authored Jun 14, 2024
2 parents facb633 + 762a842 commit 6c12388
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 6c12388

Please sign in to comment.