mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 02:21:10 +02:00
🐛 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:
parent
64535373ac
commit
8da676ff8c
1 changed files with 3 additions and 0 deletions
|
|
@ -590,6 +590,9 @@
|
|||
}
|
||||
|
||||
onMount(async () => {
|
||||
// Initialize auth state from stored tokens
|
||||
await authStore.initialize();
|
||||
|
||||
// Initialize split-panel from URL/localStorage
|
||||
splitPanel.initialize();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue