mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-04 12:25:02 +03:00
Fix race
This commit is contained in:
parent
32a01b54b8
commit
1deb406294
1 changed files with 2 additions and 1 deletions
|
@ -44,8 +44,9 @@ module.exports = React.createClass({
|
||||||
this.setState({
|
this.setState({
|
||||||
summary: null,
|
summary: null,
|
||||||
error: null,
|
error: null,
|
||||||
|
}, () => {
|
||||||
|
this._loadGroupFromServer(newProps.groupId);
|
||||||
});
|
});
|
||||||
this._loadGroupFromServer(newProps.groupId);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue