diff --git a/src/context/AuthContext.tsx b/src/context/AuthContext.tsx index 2ae9e4e..fecd9fb 100644 --- a/src/context/AuthContext.tsx +++ b/src/context/AuthContext.tsx @@ -31,12 +31,12 @@ export function AuthProvider({ children }: { children: ReactNode }) { } }); - // Timeout safety: force loading to false after 1 second + // Timeout safety: force loading to false after 2 seconds const timeout = setTimeout(() => { if (mounted) { setLoading(false); } - }, 1000); + }, 2000); return () => { mounted = false;