Clear onboarding key on sign-out clearClientAuthState

cgen-01658dd866ba459b8f116d96d61467c5
This commit is contained in:
Builder.io 2025-10-18 05:34:13 +00:00
parent 03c214dc3f
commit a9d1e3ecf8

View file

@ -649,6 +649,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({
if (typeof window !== "undefined") {
try {
window.localStorage.removeItem("onboarding_complete");
window.localStorage.removeItem("aethex_onboarding_progress_v1");
const shouldRemove = (key: string) =>
key.startsWith("sb-") ||
key.includes("supabase") ||