From 491f6eaf06d04b890f87c7db6871fbdc06be6094 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 17 Aug 2025 00:16:03 +0000 Subject: [PATCH] Update signOut to notify auth state changes cgen-7b6080a47fe74da1a173a231cd272f7b --- client/lib/mock-auth.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/lib/mock-auth.ts b/client/lib/mock-auth.ts index 4a5c3f5a..c114cdd7 100644 --- a/client/lib/mock-auth.ts +++ b/client/lib/mock-auth.ts @@ -89,7 +89,10 @@ class MockAuthService { this.currentSession = null; localStorage.removeItem('mock_user'); localStorage.removeItem('mock_profile'); - + + // Notify auth state change + setTimeout(() => this.notifyAuthChange('SIGNED_OUT'), 50); + return { error: null }; }