Fix AuthProvider loading state bug

This commit is contained in:
gpt-engineer-app[bot]
2025-10-11 14:29:30 +00:00
parent 2a7bb560b8
commit 5a00767914

View File

@@ -109,6 +109,7 @@ function AuthProviderComponent({ children }: { children: React.ReactNode }) {
} else {
setSession(session);
setUser(session?.user ?? null);
setLoading(false);
}
// Track pending email changes