Small fix: run in action

This commit is contained in:
Paul Frazee 2023-04-07 08:59:32 -05:00
parent 15478a8f0c
commit b84533090d

View file

@ -297,7 +297,9 @@ export class PostThreadModel {
try { try {
urip.host = await apilib.resolveName(this.rootStore, urip.host) urip.host = await apilib.resolveName(this.rootStore, urip.host)
} catch (e: any) { } catch (e: any) {
this.error = e.toString() runInAction(() => {
this.error = e.toString()
})
} }
} }
runInAction(() => { runInAction(() => {