diff --git a/src/lib/stores/auth.js b/src/lib/stores/auth.js index 89b9732..5bd8567 100644 --- a/src/lib/stores/auth.js +++ b/src/lib/stores/auth.js @@ -90,8 +90,8 @@ function createAuthStore() { } }, logout: async () => { - await supabase.auth.signOut(); set({ user: null, loading: false, error: null }); + await supabase.auth.signOut(); }, clearError: () => update((s) => ({ ...s, error: null })), };