Close modals if switching to unauthed account (#2039)
parent
b83fa95793
commit
3e1b2346ee
|
@ -29,6 +29,7 @@ export function useAccountSwitcher() {
|
|||
Toast.show(`Signed in as @${account.handle}`)
|
||||
}, 100)
|
||||
} else {
|
||||
closeAllActiveElements()
|
||||
setShowLoggedOut(true)
|
||||
Toast.show(
|
||||
`Please sign in as @${account.handle}`,
|
||||
|
|
Loading…
Reference in New Issue