Improve the UI and tests
This commit is contained in:
@@ -61,6 +61,10 @@ export const DemoBanner: React.FC = () => {
|
||||
const { useTenantStore } = await import('../../../stores/tenant.store');
|
||||
useTenantStore.getState().clearTenants();
|
||||
|
||||
// Clear notification storage to ensure notifications don't persist across sessions
|
||||
const { clearNotificationStorage } = await import('../../../hooks/useNotifications');
|
||||
clearNotificationStorage();
|
||||
|
||||
navigate('/demo');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user