From 41f4e6b2dae104fd19009a70a280a45f776c3d30 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Fri, 27 Sep 2024 09:23:51 +0000
Subject: fix(web): Fix some hydration errors in bulk actions

---
 apps/web/components/dashboard/BulkBookmarksAction.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/web/components/dashboard/BulkBookmarksAction.tsx')

diff --git a/apps/web/components/dashboard/BulkBookmarksAction.tsx b/apps/web/components/dashboard/BulkBookmarksAction.tsx
index 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 () => {
-- 
cgit v1.2.3-70-g09d2

