feat: click selected account to switch to guest

This commit is contained in:
Xyphyn committed 2023-08-19 17:14:48 -07:00
1 parent c3d2ae112f
commit f43fc4acb6
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -57,7 +57,9 @@
color="tertiary"
alignment="left"
on:click={() => {
setUserID(prof.id)
if ($profile?.id == prof.id) setUserID(-1)
else setUserID(prof.id)
goto($page.url, {
invalidateAll: true,
})