We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29e0ef commit 317ddccCopy full SHA for 317ddcc
1 file changed
packages/react/src/auth/utils.ts
@@ -9,5 +9,5 @@ export const isSessionSignedIn = (session: GadgetSession) => {
9
};
10
11
export function windowNavigate(path: string) {
12
- return window.location.assign(path);
+ return window?.location?.assign(path);
13
}
0 commit comments