Skip to content

Commit

Permalink
fix(web): Fix another hydration error in copy to clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Sep 28, 2024
1 parent ab1c837 commit b32a832
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/web/components/dashboard/BulkBookmarksAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ export default function BulkBookmarksAction() {
}

function isClipboardAvailable() {
if (typeof window === "undefined") {
return false;
}
return window && window.navigator && window.navigator.clipboard;
}

Expand Down

0 comments on commit b32a832

Please sign in to comment.