New alert service
This commit is contained in:
@@ -161,12 +161,8 @@ export const useAuthStore = create<AuthState>()(
|
||||
console.warn('Failed to clear tenant store on logout:', err);
|
||||
});
|
||||
|
||||
// Clear notification storage to ensure notifications don't persist across sessions
|
||||
import('../hooks/useNotifications').then(({ clearNotificationStorage }) => {
|
||||
clearNotificationStorage();
|
||||
}).catch(err => {
|
||||
console.warn('Failed to clear notification storage on logout:', err);
|
||||
});
|
||||
// Note: Notification storage is now handled by React Query cache
|
||||
// which is cleared automatically on logout
|
||||
|
||||
set({
|
||||
user: null,
|
||||
|
||||
Reference in New Issue
Block a user