Skip to content

Commit

Permalink
removed classname on dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
BasVanDeGroep committed Feb 9, 2024
1 parent 312fd8c commit 5e0867b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/components/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ const Dialog = DialogPrimitive.Root;
const DialogTrigger = DialogPrimitive.Trigger;

const DialogPortal = ({
className,
children,
...props
}: DialogPrimitive.DialogPortalProps) => (
<DialogPrimitive.Portal className={cn(className)} {...props}>
<DialogPrimitive.Portal {...props}>
<div className="fixed inset-0 z-50 flex items-start justify-center sm:items-center">
{children}
</div>
Expand Down

0 comments on commit 5e0867b

Please sign in to comment.