fix jwt check

This commit is contained in:
Hailey
2025-07-18 11:29:49 -07:00
parent 5336e4f2ef
commit e4625c9014
3 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ export function useAccountSwitcher() {
}
try {
setPendingDid(account.did)
if (account.accessJwt) {
// TODO: this should be checking if it is an oauth session
if (true || account.accessJwt) {
if (isWeb) {
// We're switching accounts, which remounts the entire app.
// On mobile, this gets us Home, but on the web we also need reset the URL.