Skip to content

Commit

Permalink
chore(clerk-js): Temp disable typeof issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmilewski committed Oct 30, 2023
1 parent 1f03bd6 commit 1e0886b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/clerk-js/src/utils/devBrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export function getDevBrowserJWTFromURL(url: URL): string {

const jwt = jwtFromHash || jwtFromSearch;

if (jwt && typeof globalThis.history !== 'undefined') {
// eslint-disable-next-line valid-typeof
if (jwt && typeof globalThis.history !== undefined) {
globalThis.history.replaceState(null, '', resultURL.href);
}

Expand Down

0 comments on commit 1e0886b

Please sign in to comment.