Improve the UI and tests

This commit is contained in:
Urtzi Alfaro
2025-11-15 21:21:06 +01:00
parent 86d704b354
commit 54b7a5e080
44 changed files with 2268 additions and 1414 deletions

View File

@@ -160,6 +160,13 @@ 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);
});
set({
user: null,
token: null,