Skip to content

Commit

Permalink
fix: types of dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Oct 7, 2023
1 parent 7a9e6c4 commit be1c7a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const SheetClose = Primitive.Close;

// Sheet.Portal
// ---------------
const SheetPortal = ({ className, ...props }: Primitive.DialogPortalProps) => (
<Primitive.Portal className={cn(className)} {...props} />
const SheetPortal = (props: Primitive.DialogPortalProps) => (
<Primitive.Portal {...props} />
);
SheetPortal.displayName = Primitive.Portal.displayName;

Expand Down

1 comment on commit be1c7a3

@vercel
Copy link

@vercel vercel bot commented on be1c7a3 Oct 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.