Enable ESLint react/no-deprecated (#24471)
This commit is contained in:
parent
2d5e257938
commit
b878e3d8df
27 changed files with 32 additions and 33 deletions
|
@ -59,7 +59,7 @@ class ModifierPickerMenu extends React.PureComponent {
|
|||
this.props.onSelect(e.currentTarget.getAttribute('data-index') * 1);
|
||||
};
|
||||
|
||||
componentWillReceiveProps (nextProps) {
|
||||
UNSAFE_componentWillReceiveProps (nextProps) {
|
||||
if (nextProps.active) {
|
||||
this.attachListeners();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue