Close modals if switching to unauthed account (#2039)
This commit is contained in:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user