Skip to content

Commit

Permalink
Merge pull request #4069 from WalletConnect/fix/link-localstorage
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciosantise authored Dec 21, 2023
2 parents b02bd5f + c595719 commit d6fe6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function isReactNative(): boolean {
}

export function isBrowser(): boolean {
return !isNode() && !!getNavigator();
return !isNode() && !!getNavigator() && !!getDocument();
}

export function getEnvironment(): string {
Expand Down

0 comments on commit d6fe6c1

Please sign in to comment.