From 1b07d6de9c137f9660d83ded2a47b5e79679b74f Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Tue, 19 Mar 2024 16:11:56 +0000 Subject: fix(web): Show editor card when there are no bookmarks --- apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx b/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx index 4b0dc4fd..03c60a66 100644 --- a/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx +++ b/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx @@ -77,7 +77,7 @@ export default function BookmarksGrid({ const breakpointConfig = useMemo(() => getBreakpointConfig(), []); const bookmarks = data!.pages.flatMap((b) => b.bookmarks); - if (bookmarks.length == 0) { + if (bookmarks.length == 0 && !showEditorCard) { return

No bookmarks

; } return ( -- cgit v1.2.3-70-g09d2