Update signIn and signOut to notify auth state changes

cgen-45a41023af394c5195abf123501266df
This commit is contained in:
Builder.io 2025-08-17 00:15:56 +00:00
parent cd3ebd8852
commit 04f4418803

View file

@ -72,6 +72,9 @@ class MockAuthService {
// Save to localStorage
localStorage.setItem('mock_user', JSON.stringify(user));
// Notify auth state change
setTimeout(() => this.notifyAuthChange('SIGNED_IN'), 50);
return {
data: {
user,