Clear onboarding key on sign-out clearClientAuthState
cgen-01658dd866ba459b8f116d96d61467c5
This commit is contained in:
parent
03c214dc3f
commit
a9d1e3ecf8
1 changed files with 1 additions and 0 deletions
|
|
@ -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") ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue