Enable ESLint react/no-deprecated (#24471)
This commit is contained in:
@ -123,7 +123,7 @@ class SwitchingColumnsArea extends React.PureComponent {
|
||||
mobile: PropTypes.bool,
|
||||
};
|
||||
|
||||
componentWillMount () {
|
||||
UNSAFE_componentWillMount () {
|
||||
if (this.props.mobile) {
|
||||
document.body.classList.toggle('layout-single-column', true);
|
||||
document.body.classList.toggle('layout-multiple-columns', false);
|
||||
|
Reference in New Issue
Block a user