Upgrade ESlint to v8 (#23305)
This commit is contained in:
@@ -80,17 +80,17 @@ export class WrappedRoute extends React.Component {
|
||||
{Component => <Component params={match.params} multiColumn={multiColumn} {...componentParams}>{content}</Component>}
|
||||
</BundleContainer>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
renderLoading = () => {
|
||||
const { multiColumn } = this.props;
|
||||
|
||||
return <ColumnLoading multiColumn={multiColumn} />;
|
||||
}
|
||||
};
|
||||
|
||||
renderError = (props) => {
|
||||
return <BundleColumnError {...props} errorType='network' />;
|
||||
}
|
||||
};
|
||||
|
||||
render () {
|
||||
const { component: Component, content, ...rest } = this.props;
|
||||
|
@@ -17,7 +17,7 @@ class ReducedMotion extends React.Component {
|
||||
defaultStyle: PropTypes.object,
|
||||
style: PropTypes.object,
|
||||
children: PropTypes.func,
|
||||
}
|
||||
};
|
||||
|
||||
render() {
|
||||
|
||||
|
Reference in New Issue
Block a user