From d86628dfabe8b9c17c7dd68b3d291104c3b25704 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 6 Apr 2025 23:29:24 +0100 Subject: feat(web): A slightly better looking banner when no bookmarks are found --- apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx') diff --git a/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx b/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx index b8e8d1e6..8ac90d0a 100644 --- a/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx +++ b/apps/web/components/dashboard/bookmarks/BookmarksGrid.tsx @@ -1,4 +1,5 @@ import { useEffect, useMemo } from "react"; +import NoBookmarksBanner from "@/components/dashboard/bookmarks/NoBookmarksBanner"; import { ActionButton } from "@/components/ui/action-button"; import useBulkActionsStore from "@/lib/bulkActions"; import { @@ -70,7 +71,7 @@ export default function BookmarksGrid({ }, [loadMoreButtonInView]); if (bookmarks.length == 0 && !showEditorCard) { - return

No bookmarks

; + return ; } const children = [ -- cgit v1.2.3-70-g09d2