partial mods to replace deprecated componentWillReceiveProps

This commit is contained in:
crockwave
2020-06-22 20:26:20 -05:00
parent 8a43cb3709
commit 3d29f7b6e2
12 changed files with 12 additions and 12 deletions

View File

@@ -61,7 +61,7 @@ class Edit extends React.PureComponent {
}
}
componentWillReceiveProps(nextProps) {
componentDidUpdate(nextProps) {
if (!this.props.group && nextProps.group) {
this.props.setUp(nextProps.group);
}