Skip to content

Commit

Permalink
Fix slot login
Browse files Browse the repository at this point in the history
  • Loading branch information
broody committed Jan 15, 2025
1 parent 383f106 commit 54cfd2d
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 54cfd2d

Please sign in to comment.