Bundle: componentWillReceiveProps --> UNSAFE_componentWillReceiveProps

environments/review-rename-uns-sgh8nl/deployments/1778
Alex Gleason 2 years ago
parent af4e8765fd
commit 63ee2ba2ba
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -45,7 +45,7 @@ class Bundle extends React.PureComponent<BundleProps, BundleState> {
this.load(this.props);
}
componentWillReceiveProps(nextProps: BundleProps) {
UNSAFE_componentWillReceiveProps(nextProps: BundleProps) {
if (nextProps.fetchComponent !== this.props.fetchComponent) {
this.load(nextProps);
}

Loading…
Cancel
Save