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) => {