1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00

Appease the linter by turning it off

This commit is contained in:
Travis Ralston
2020-04-01 14:45:54 -06:00
parent f2c41a5da7
commit 5c2841323e
9 changed files with 9 additions and 9 deletions

View File

@@ -124,7 +124,7 @@ export default class RightPanel extends React.Component {
}
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
UNSAFE_componentWillReceiveProps(newProps) {
UNSAFE_componentWillReceiveProps(newProps) { // eslint-disable-line camelcase
if (newProps.groupId !== this.props.groupId) {
this._unregisterGroupStore(this.props.groupId);
this._initGroupStore(newProps.groupId);