Skip to content

Commit

Permalink
fix: -1 account issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyphyn committed Jul 5, 2024
1 parent 685af81 commit fdfe038
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/components/ui/sidebar/ProfileButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit fdfe038

Please sign in to comment.