Skip to content

Commit e97f79e

Browse files
authored
chore: fix ci (#160)
1 parent 57d7326 commit e97f79e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/CodeEditor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class CodeEditor extends React.Component<CodeEditorProps, CodeEditorState
6363
});
6464
}
6565

66-
render() {
66+
override render() {
6767
this.updateHighlight();
6868

6969
return (
@@ -84,7 +84,7 @@ export class CodeEditor extends React.Component<CodeEditorProps, CodeEditorState
8484
}
8585
}
8686

87-
componentWillUnmount() {
87+
override componentWillUnmount() {
8888
for (const disposable of this.disposables) {
8989
disposable.dispose();
9090
}

src/components/ErrorBoundary.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ export class ErrorBoundary extends React.Component<React.PropsWithChildren<Error
2222
this.state = { hasError: false };
2323
}
2424

25-
componentDidCatch(error: any, errorInfo: any) {
25+
override componentDidCatch(error: any, errorInfo: any) {
2626
this.setState({ hasError: true, error, errorInfo });
2727
console.error(error);
2828
if (this.props.getResetHash != null) {
2929
this.lastResetHash = this.props.getResetHash();
3030
}
3131
}
3232

33-
render() {
33+
override render() {
3434
if (this.getHasError()) {
3535
return (
3636
<div>

0 commit comments

Comments
 (0)