React error/warning cleanup
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
15e7559d5b
commit
a782baf510
10 changed files with 62 additions and 85 deletions
|
@ -57,7 +57,7 @@ module.exports = createReactClass({
|
|||
return this._getState(this.props);
|
||||
},
|
||||
|
||||
componentWillMount() {
|
||||
componentDidMount() {
|
||||
this.unmounted = false;
|
||||
this.context.matrixClient.on('sync', this.onClientSync);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue