Also clear onboarding progress key during global auth clear and initial cleanup

cgen-3dfbd02ecfdc46d2893250f05c1b83b4
This commit is contained in:
Builder.io 2025-10-18 05:34:01 +00:00
parent 62a1ea6cc1
commit 03c214dc3f

View file

@ -180,6 +180,8 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({
"demo_profiles",
"demo_posts",
"demo_seed_v1",
"aethex_onboarding_progress_v1",
"onboarding_complete",
].forEach((key) => window.localStorage.removeItem(key));
storageClearedRef.current = true;
} catch {