Small fix: run in action

zio/stable
Paul Frazee 2023-04-07 08:59:32 -05:00
parent 15478a8f0c
commit b84533090d
1 changed files with 3 additions and 1 deletions

View File

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