mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use @typescript-eslint/semi.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user