From ed1318b249794161601d1924b90aa1602077b7f6 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 8 Nov 2025 09:18:57 +0000 Subject: [PATCH] Ensure loading is false and stays false after sign-out completes cgen-5a94fd0f27fa4864961560b9c816bd34 --- client/contexts/AuthContext.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index 04d0446a..dff143eb 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -872,6 +872,9 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ description: "You have been signed out successfully.", }); } + + // Ensure loading is always false after sign-out completes + setLoading(false); }; const updateProfile = async (updates: Partial) => {