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 () => {
|
||||
switching = true
|
||||
|
||||
if ($profile?.id == prof.id) {
|
||||
await setUserID(-1)
|
||||
} else {
|
||||
if ($profile?.id != prof.id) {
|
||||
await setUserID(prof.id)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user