Unify flows to onboarding and auth-aware Realms
cgen-414ca18633e449d09ea76e4a6b0006fc
This commit is contained in:
parent
f4dc20cc54
commit
567393bfcb
1 changed files with 2 additions and 2 deletions
|
|
@ -277,9 +277,9 @@ export default function Dashboard() {
|
|||
|
||||
// Only redirect to login when auth is resolved and there's no user
|
||||
if (!user && !authLoading) {
|
||||
console.log("No user after auth resolved, redirecting to login");
|
||||
console.log("No user after auth resolved, redirecting to onboarding");
|
||||
setIsLoading(false);
|
||||
navigate("/login", { replace: true });
|
||||
navigate("/onboarding", { replace: true });
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue