Appease the linter by turning it off
This commit is contained in:
parent
f2c41a5da7
commit
5c2841323e
9 changed files with 9 additions and 9 deletions
|
@ -73,7 +73,7 @@ export default class ServerConfig extends React.PureComponent {
|
|||
}
|
||||
|
||||
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
|
||||
UNSAFE_componentWillReceiveProps(newProps) {
|
||||
UNSAFE_componentWillReceiveProps(newProps) { // eslint-disable-line camelcase
|
||||
if (newProps.serverConfig.hsUrl === this.state.hsUrl &&
|
||||
newProps.serverConfig.isUrl === this.state.isUrl) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue