Update signOut to notify auth state changes

cgen-7b6080a47fe74da1a173a231cd272f7b
This commit is contained in:
Builder.io 2025-08-17 00:16:03 +00:00
parent 04f4418803
commit 491f6eaf06

View file

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