From 1e0886b9c3104cae2e52167d4fcaf7e732cc87a7 Mon Sep 17 00:00:00 2001 From: Tom Milewski Date: Sun, 29 Oct 2023 13:19:47 -0700 Subject: [PATCH] chore(clerk-js): Temp disable typeof issue --- packages/clerk-js/src/utils/devBrowser.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/clerk-js/src/utils/devBrowser.ts b/packages/clerk-js/src/utils/devBrowser.ts index 256bbd30984..75d875afc0d 100644 --- a/packages/clerk-js/src/utils/devBrowser.ts +++ b/packages/clerk-js/src/utils/devBrowser.ts @@ -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); }