feat: Set hasCheckedAuth to true upon successful login/signup

This commit is contained in:
barsa 2026-01-19 17:29:07 +09:00
parent f3b41ca6f4
commit 69e07ecef2

View File

@ -73,6 +73,7 @@ export const useAuthStore = create<AuthState>()((set, get) => {
refreshExpiresAt: data.session.refreshExpiresAt, refreshExpiresAt: data.session.refreshExpiresAt,
}, },
isAuthenticated: true, isAuthenticated: true,
hasCheckedAuth: true, // Auth verified via successful login/signup
loading: keepLoading, loading: keepLoading,
error: null, error: null,
}); });