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 1301028 commit 2c88870Copy full SHA for 2c88870
src/authkit-callback-route.ts
@@ -13,7 +13,7 @@ export function authLoader(options: HandleAuthOptions = {}) {
13
14
const code = url.searchParams.get('code');
15
const state = url.searchParams.get('state');
16
- let returnPathname = state && stage !== 'null' ? JSON.parse(atob(state)).returnPathname : null;
+ let returnPathname = state && state !== 'null' ? JSON.parse(atob(state)).returnPathname : null;
17
18
if (code) {
19
try {
0 commit comments