Skip to content

Commit

Permalink
Removed classnames.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Oct 1, 2023
1 parent 94796e3 commit 888e2b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/StyledModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ const Dialog = DialogPrimitive.Root
const DialogTrigger = DialogPrimitive.Trigger

const DialogPortal = ({
className,
...props
}: DialogPrimitive.DialogPortalProps) => (
<DialogPrimitive.Portal className={cn(className)} {...props} />
<DialogPrimitive.Portal {...props} />
)
DialogPortal.displayName = DialogPrimitive.Portal.displayName

Expand Down

0 comments on commit 888e2b0

Please sign in to comment.