New alert service

This commit is contained in:
Urtzi Alfaro
2025-12-05 20:07:01 +01:00
parent 1fe3a73549
commit 667e6e0404
393 changed files with 26002 additions and 61033 deletions

View File

@@ -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,