fix: accounts switching fails
This commit is contained in:
3 files changed
+9
-12
No files matched your search
@@ -31,13 +31,8 @@
|
||||
|
||||
let radioSelected = $state(profile.current.id)
|
||||
$effect(() => {
|
||||
switching = radioSelected
|
||||
profile.meta.profile = radioSelected
|
||||
})
|
||||
|
||||
$effect(() => {
|
||||
if (profile.current.user) switching = -1
|
||||
})
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
Reference in new issue
Block a user