aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkTranscription.tsx
diff options
context:
space:
mode:
authorZachary Zhang <zacharyzhang7@gmail.com>2024-09-04 23:22:07 -0400
committerZachary Zhang <zacharyzhang7@gmail.com>2024-09-04 23:22:07 -0400
commite2dddcb929f5f36e34e73b0e02205e0177f87645 (patch)
tree5e0674fb13ff268ce6ad694ba17d0f62da91f219 /src/client/views/InkTranscription.tsx
parent36374627c0a812ab2b525aa9c280d2072ebf7efe (diff)
removed useless code
Diffstat (limited to 'src/client/views/InkTranscription.tsx')
-rw-r--r--src/client/views/InkTranscription.tsx6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/client/views/InkTranscription.tsx b/src/client/views/InkTranscription.tsx
index d2589b139..e5f47c1c3 100644
--- a/src/client/views/InkTranscription.tsx
+++ b/src/client/views/InkTranscription.tsx
@@ -40,12 +40,6 @@ export class InkTranscription extends React.Component {
InkTranscription.Instance = this;
}
-
- componentWillUnmount() {
- // this._mathRef.removeEventListener('exported', (e: any) => this.exportInk(e, this._mathRef));
- // this._textRef.removeEventListener('exported', (e: any) => this.exportInk(e, this._textRef));
- }
-
@action
// eslint-disable-next-line @typescript-eslint/no-explicit-any
setMathRef = async (r: any) => {