Upgrade ESlint to v8 (#23305)

This commit is contained in:
Nick Schonning
2023-01-29 19:45:35 -05:00
committed by GitHub
parent b58bf74e35
commit c49213f0ea
120 changed files with 832 additions and 810 deletions

View File

@@ -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;

View File

@@ -17,7 +17,7 @@ class ReducedMotion extends React.Component {
defaultStyle: PropTypes.object,
style: PropTypes.object,
children: PropTypes.func,
}
};
render() {