From bf175930fb60d3525fbdce3900704ee91d0e928c Mon Sep 17 00:00:00 2001 From: Simao Rodrigues Date: Tue, 24 Oct 2023 19:02:43 +0100 Subject: [PATCH] Fix issue with ui/Dialog typing preventing deployments --- frontend/src/components/ui/dialog.tsx | 4 ++-- frontend/src/components/ui/sheet.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;