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 }; }