Fix linter

This commit is contained in:
Germain Souquet 2021-08-16 09:16:02 +01:00
parent 2e1d5aa67b
commit 800b3f1424
2 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,8 @@ export default class ChangeAvatar extends React.Component<IProps, IState> {
}
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
public UNSAFE_componentWillReceiveProps(newProps): void { // eslint-disable-line camelcase
// eslint-disable-next-line
public UNSAFE_componentWillReceiveProps(newProps): void {
if (this.avatarSet) {
// don't clobber what the user has just set
return;