fix: Fix logout button
This commit is contained in:
1 parent
c0702d645c
commit
ab8630a76e
8 files changed
+25
-32
No files matched your search
@@ -116,9 +116,8 @@
|
||||
<MenuButton
|
||||
on:click={() => {
|
||||
localStorage.removeItem('user')
|
||||
goto('/', {
|
||||
invalidateAll: true,
|
||||
})
|
||||
user.set(undefined)
|
||||
authData.set(undefined)
|
||||
}}
|
||||
color={Color.dangerSecondary}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user