This commit is contained in:
Swifty
2025-12-20 00:25:43 +01:00
parent a7a521cedd
commit 9ecf8bcb08

View File

@@ -170,7 +170,9 @@ export default function OnboardingProvider({
(error as { status: number }).status === 401;
if (isAuthError) {
console.debug("Onboarding initialization skipped - auth not ready yet");
console.debug(
"Onboarding initialization skipped - auth not ready yet",
);
hasInitialized.current = false; // Allow retry on next render
return;
}
@@ -274,7 +276,9 @@ export default function OnboardingProvider({
(error as { status: number }).status === 401;
if (isAuthError) {
console.debug("Onboarding step completion skipped - auth not ready yet");
console.debug(
"Onboarding step completion skipped - auth not ready yet",
);
return;
}