Enable ESLint react/no-deprecated (#24471)
This commit is contained in:
parent
2d5e257938
commit
b878e3d8df
27 changed files with 32 additions and 33 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue