From 4e18d6c7a51dac9844af8e9aebf16cf5681f4b5e Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 8 Nov 2025 09:11:51 +0000 Subject: [PATCH] Reduce auth loading timeout from 8s to 3s and add safeguard cgen-61ae4533517c4651aaffe06b7bb3ae68 --- client/contexts/AuthContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index 98c7adbd..6890dd07 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -173,7 +173,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ if (!sessionRestored) { setLoading(false); } - }, 8000); + }, 3000); if (!storageClearedRef.current && typeof window !== "undefined") { try {