[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:
Claire
2023-02-03 20:52:07 +01:00
parent ed7cb79723
commit 155424e52f
233 changed files with 1262 additions and 1248 deletions

View File

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

View File

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