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