Remove Activity and the notification system

This commit is contained in:
2026-10-05 17:25:39 -04:00
parent 193383ddd5
commit b62fb5db30
11 changed files with 32 additions and 216 deletions
-1
View File
@@ -24,7 +24,6 @@
try {
const response = await fetch('/api/auth/logout', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: '{}' });
if (!response.ok) { const body = await response.json(); throw new Error(body.error ?? 'Could not sign out.'); }
try { sessionStorage.removeItem('electric-cherry:notifications'); } catch { /* Optional history. */ }
window.location.assign('/login');
} catch (cause) { error = (cause as Error).message; signingOut = false; }
}