some fixes

This commit is contained in:
gitea
2026-03-07 20:09:21 +01:00
parent 44f54b4793
commit 729fc90365
+1 -1
View File
@@ -90,8 +90,8 @@ function createAuthStore() {
} }
}, },
logout: async () => { logout: async () => {
await supabase.auth.signOut();
set({ user: null, loading: false, error: null }); set({ user: null, loading: false, error: null });
await supabase.auth.signOut();
}, },
clearError: () => update((s) => ({ ...s, error: null })), clearError: () => update((s) => ({ ...s, error: null })),
}; };