Skip to content

Commit

Permalink
chore: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Sep 21, 2024
1 parent 57d7326 commit 64e2f98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/CodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class CodeEditor extends React.Component<CodeEditorProps, CodeEditorState
});
}

render() {
override render() {
this.updateHighlight();

return (
Expand All @@ -84,7 +84,7 @@ export class CodeEditor extends React.Component<CodeEditorProps, CodeEditorState
}
}

componentWillUnmount() {
override componentWillUnmount() {
for (const disposable of this.disposables) {
disposable.dispose();
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/ErrorBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ export class ErrorBoundary extends React.Component<React.PropsWithChildren<Error
this.state = { hasError: false };
}

componentDidCatch(error: any, errorInfo: any) {
override componentDidCatch(error: any, errorInfo: any) {
this.setState({ hasError: true, error, errorInfo });
console.error(error);
if (this.props.getResetHash != null) {
this.lastResetHash = this.props.getResetHash();
}
}

render() {
override render() {
if (this.getHasError()) {
return (
<div>
Expand Down

0 comments on commit 64e2f98

Please sign in to comment.