aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/BulkBookmarksAction.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-09-27 09:23:51 +0000
committerMohamedBassem <me@mbassem.com>2024-09-27 09:23:51 +0000
commit41f4e6b2dae104fd19009a70a280a45f776c3d30 (patch)
treef92a37b5002b2696114e240aeb5e5ce0faa74cef /apps/web/components/dashboard/BulkBookmarksAction.tsx
parentbadf697d0b83ef4d093e781f04ed73d3901e6a9f (diff)
downloadkarakeep-41f4e6b2dae104fd19009a70a280a45f776c3d30.tar.zst
fix(web): Fix some hydration errors in bulk actions
Diffstat (limited to 'apps/web/components/dashboard/BulkBookmarksAction.tsx')
-rw-r--r--apps/web/components/dashboard/BulkBookmarksAction.tsx2
1 files changed, 1 insertions, 1 deletions
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 () => {