You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-22 18:41:57 +03:00
Fix linting errors
This commit is contained in:
@ -39,13 +39,13 @@ module.exports = React.createClass({
|
||||
this._loadGroupFromServer(this.props.groupId);
|
||||
},
|
||||
|
||||
componentWillReceiveProps: function(new_props) {
|
||||
if (this.props.groupId != new_props.groupId) {
|
||||
componentWillReceiveProps: function(newProps) {
|
||||
if (this.props.groupId != newProps.groupId) {
|
||||
this.setState({
|
||||
summary: null,
|
||||
error: null,
|
||||
})
|
||||
this._loadGroupFromServer(new_props.groupId);
|
||||
});
|
||||
this._loadGroupFromServer(newProps.groupId);
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user