🐛 fix(calendar-web): initialize auth store on mount

The demo banner was showing even after login because authStore.initialize()
was never called. Now auth state is properly loaded from stored tokens.
This commit is contained in:
Till-JS 2026-01-30 16:24:43 +01:00
parent 64535373ac
commit 8da676ff8c

View file

@ -590,6 +590,9 @@
}
onMount(async () => {
// Initialize auth state from stored tokens
await authStore.initialize();
// Initialize split-panel from URL/localStorage
splitPanel.initialize();