[Glitch] Enable ESLint react/no-deprecated

Port b878e3d8df to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Nick Schonning
2023-05-10 03:05:32 -04:00
committed by Claire
parent 79c43b61a6
commit e8fc445e14
24 changed files with 28 additions and 28 deletions

View File

@@ -60,7 +60,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 {