Skip to content

Commit

Permalink
Fix slot login (#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
broody authored Jan 15, 2025
1 parent 383f106 commit 2c57156
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/keychain/src/components/slot/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ function Auth() {
"",
);

const target = returnTo ? `${returnTo}${otherParams}` : "/slot";
const target = returnTo
? `${returnTo}${otherParams}`
: `/slot/consent${otherParams}`;
navigate(target, { replace: true });
}
}, [user, controller, navigate, searchParams]);
Expand Down

0 comments on commit 2c57156

Please sign in to comment.