Small fix: run in action
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user