React error/warning cleanup

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-10-08 12:10:37 +01:00
parent 15e7559d5b
commit a782baf510
10 changed files with 62 additions and 85 deletions

View file

@ -52,7 +52,7 @@ module.exports = createReactClass({
};
},
componentWillMount: function() {
componentDidMount: function() {
MatrixClientPeg.get().on("RoomState.events", this.onRoomStateEvents);
},