diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-03-13 23:30:12 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-03-13 23:30:12 -0500 |
commit | 774fb8371905473b88b26c350818aa6b4bf1bac2 (patch) | |
tree | ceee7f24ce3696b8890ef7bb3eb42bb04ba1078e /src/state/models/session.ts | |
parent | b5c64a03b6cf91fb1699d2e87d3fded43a5dbb46 (diff) | |
download | voidsky-774fb8371905473b88b26c350818aa6b4bf1bac2.tar.zst |
Rework logged out state to preserve routing and work for web
Diffstat (limited to 'src/state/models/session.ts')
-rw-r--r-- | src/state/models/session.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state/models/session.ts b/src/state/models/session.ts index b79283be1..7c4d0931c 100644 --- a/src/state/models/session.ts +++ b/src/state/models/session.ts @@ -122,7 +122,9 @@ export class SessionModel { try { return await this.resumeSession(sess) } finally { - this.isResumingSession = false + runInAction(() => { + this.isResumingSession = false + }) } } else { this.rootStore.log.debug( |