diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-04-07 08:59:32 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-04-07 08:59:32 -0500 |
commit | b84533090ddc2712b44e8b53ecf1fd4049771489 (patch) | |
tree | 224b04e8e526985e6ff015cc33c22ed6e06d7952 /src | |
parent | 15478a8f0cddfeef0f9a33cf9bbde9e8dee62438 (diff) | |
download | voidsky-b84533090ddc2712b44e8b53ecf1fd4049771489.tar.zst |
Small fix: run in action
Diffstat (limited to 'src')
-rw-r--r-- | src/state/models/content/post-thread.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state/models/content/post-thread.ts b/src/state/models/content/post-thread.ts index 031b82438..6a4323e48 100644 --- a/src/state/models/content/post-thread.ts +++ b/src/state/models/content/post-thread.ts @@ -297,7 +297,9 @@ export class PostThreadModel { try { urip.host = await apilib.resolveName(this.rootStore, urip.host) } catch (e: any) { - this.error = e.toString() + runInAction(() => { + this.error = e.toString() + }) } } runInAction(() => { |