fix: Fix logout button

This commit is contained in:
Xyphyn committed 2023-07-07 18:16:16 -07:00
1 parent c0702d645c
commit ab8630a76e
8 files changed
+25 -32

No files matched your search

+2 -3
View File
@@ -116,9 +116,8 @@
<MenuButton
on:click={() => {
localStorage.removeItem('user')
goto('/', {
invalidateAll: true,
})
user.set(undefined)
authData.set(undefined)
}}
color={Color.dangerSecondary}
>