Enable ESLint react/no-deprecated (#24471)
This commit is contained in:
@@ -57,7 +57,7 @@ export default class ModalRoot extends React.PureComponent {
|
||||
this.history = this.context.router ? this.context.router.history : createBrowserHistory();
|
||||
}
|
||||
|
||||
componentWillReceiveProps (nextProps) {
|
||||
UNSAFE_componentWillReceiveProps (nextProps) {
|
||||
if (!!nextProps.children && !this.props.children) {
|
||||
this.activeElement = document.activeElement;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user