[Glitch] Run eslint --fix
I don't like it changing files this way, but it's basically what
c49213f0ea
and a few others did.
This commit is contained in:
@@ -36,7 +36,7 @@ export class WrappedRoute extends React.Component {
|
||||
content: PropTypes.node,
|
||||
multiColumn: PropTypes.bool,
|
||||
componentParams: PropTypes.object,
|
||||
}
|
||||
};
|
||||
|
||||
static defaultProps = {
|
||||
componentParams: {},
|
||||
@@ -46,7 +46,7 @@ export class WrappedRoute extends React.Component {
|
||||
return {
|
||||
hasError: true,
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
state = {
|
||||
hasError: false,
|
||||
@@ -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