From d193d9bf89e8a88bf70b673ea5e438d73cf40c0c Mon Sep 17 00:00:00 2001 From: Md Saban <45597394+mdsaban@users.noreply.github.com> Date: Tue, 2 Jul 2024 03:51:23 +0530 Subject: feat: Add bulk edit option for bookmarks. Fixes #84 (#259) * feat: add bulk edit option for bookmarks * fix: resolve comments * fix: resolve comments * fix: resolve comments * fix: resolve comments * rename bulk action store, simplify the bulk action toolbar --------- Co-authored-by: MohamedBassem --- apps/web/components/ui/action-confirming-dialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/web/components/ui/action-confirming-dialog.tsx') diff --git a/apps/web/components/ui/action-confirming-dialog.tsx b/apps/web/components/ui/action-confirming-dialog.tsx index 37895ee7..cfd38fc3 100644 --- a/apps/web/components/ui/action-confirming-dialog.tsx +++ b/apps/web/components/ui/action-confirming-dialog.tsx @@ -24,7 +24,7 @@ export default function ActionConfirmingDialog({ title: React.ReactNode; description: React.ReactNode; actionButton: (setDialogOpen: (open: boolean) => void) => React.ReactNode; - children: React.ReactNode; + children?: React.ReactNode; }) { const [customIsOpen, setCustomIsOpen] = useState(false); const [isDialogOpen, setDialogOpen] = [ @@ -33,7 +33,7 @@ export default function ActionConfirmingDialog({ ]; return ( - {children} + {children && {children}} {title} -- cgit v1.2.3-70-g09d2