Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(web): Fix another hydration error in copy to clipboard

MohamedBassemb32a8325b48f
diff --git a/apps/web/components/dashboard/BulkBookmarksAction.tsx b/apps/web/components/dashboard/BulkBookmarksAction.tsx
index e7068b9d..0867fdd2 100644
--- a/apps/web/components/dashboard/BulkBookmarksAction.tsx
+++ b/apps/web/components/dashboard/BulkBookmarksAction.tsx
@@ -69,6 +69,9 @@ export default function BulkBookmarksAction() {
}
function isClipboardAvailable() {
+ if (typeof window === "undefined") {
+ return false;
+ }
return window && window.navigator && window.navigator.clipboard;
}