diff --git a/frontend/src/components/ui/dialog.tsx b/frontend/src/components/ui/dialog.tsx index 13de100f..7894a2a1 100644 --- a/frontend/src/components/ui/dialog.tsx +++ b/frontend/src/components/ui/dialog.tsx @@ -9,8 +9,8 @@ const Dialog = DialogPrimitive.Root; const DialogTrigger = DialogPrimitive.Trigger; -const DialogPortal = ({ className, ...props }: DialogPrimitive.DialogPortalProps) => ( - +const DialogPortal = (props: DialogPrimitive.DialogPortalProps) => ( + ); DialogPortal.displayName = DialogPrimitive.Portal.displayName; diff --git a/frontend/src/components/ui/sheet.tsx b/frontend/src/components/ui/sheet.tsx index add200ef..efdd1336 100644 --- a/frontend/src/components/ui/sheet.tsx +++ b/frontend/src/components/ui/sheet.tsx @@ -12,8 +12,8 @@ const SheetTrigger = SheetPrimitive.Trigger; const SheetClose = SheetPrimitive.Close; -const SheetPortal = ({ className, ...props }: SheetPrimitive.DialogPortalProps) => ( - +const SheetPortal = (props: SheetPrimitive.DialogPortalProps) => ( + ); SheetPortal.displayName = SheetPrimitive.Portal.displayName;