Use @typescript-eslint/semi.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 18:12:52 +02:00
1 parent 0b182ccf6f
commit 460dfe4d2b
179 files changed
+556 -554

No files matched your search

@@ -25,7 +25,7 @@ export class ErrorBoundary extends React.Component<Props, State> {
resetOnNavigate = reaction(
() => navigation.getPath(),
() => this.setState({ error: null, errorInfo: null })
)
);
componentDidCatch(error: Error, errorInfo: ErrorInfo) {
this.setState({ error, errorInfo });
@@ -33,7 +33,7 @@ export class ErrorBoundary extends React.Component<Props, State> {
back = () => {
navigation.goBack();
}
};
render() {
const { error, errorInfo } = this.state;