fix: -1 account issue
This commit is contained in:
1 parent
685af81257
commit
fdfe038eeb
1 file changed
+1
-3
@@ -24,9 +24,7 @@
|
|||||||
on:click={async () => {
|
on:click={async () => {
|
||||||
switching = true
|
switching = true
|
||||||
|
|
||||||
if ($profile?.id == prof.id) {
|
if ($profile?.id != prof.id) {
|
||||||
await setUserID(-1)
|
|
||||||
} else {
|
|
||||||
await setUserID(prof.id)
|
await setUserID(prof.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user