A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(web): Fix some hydration errors in bulk actions
MohamedBassem41f4e6b2dae1
diff --git a/apps/web/components/dashboard/BulkBookmarksAction.tsx b/apps/web/components/dashboard/BulkBookmarksAction.tsxindex a3f0ea55..e7068b9d 100644--- a/apps/web/components/dashboard/BulkBookmarksAction.tsx+++ b/apps/web/components/dashboard/BulkBookmarksAction.tsx@@ -69,7 +69,7 @@ export default function BulkBookmarksAction() {}function isClipboardAvailable() {- return navigator && navigator.clipboard;+ return window && window.navigator && window.navigator.clipboard;}const copyLinks = async () => {diff --git a/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx b/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsxindex e11e4295..1df0c197 100644--- a/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx+++ b/apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx@@ -90,7 +90,7 @@ function MultiBookmarkSelector({ bookmark }: { bookmark: ZBookmark }) {)}onClick={() => toggleBookmark(bookmark)}>- <button className="absolute right-2 top-2 z-50 opacity-100">+ <div className="absolute right-2 top-2 z-50 opacity-100"><divclassName={cn("flex h-4 w-4 items-center justify-center rounded-full border border-gray-600",@@ -99,7 +99,7 @@ function MultiBookmarkSelector({ bookmark }: { bookmark: ZBookmark }) {><Check size={12} color={getIconColor()} /></div>- </button>+ </div></button>);}