connect deferred

This commit is contained in:
Géry Debongnie
2019-01-30 10:34:30 +01:00
parent be7ff1faf0
commit 145dc9b5d7
+1 -1
View File
@@ -148,7 +148,7 @@ export class Widget<T extends WEnv, Props> {
async updateState(nextState: Object) {
Object.assign(this.state, nextState);
if (this.__widget__.isStarted) {
await this.render();
return this.render();
}
}