From e2dddcb929f5f36e34e73b0e02205e0177f87645 Mon Sep 17 00:00:00 2001 From: Zachary Zhang Date: Wed, 4 Sep 2024 23:22:07 -0400 Subject: removed useless code --- src/client/views/InkTranscription.tsx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/client/views/InkTranscription.tsx') 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) => { -- cgit v1.2.3-70-g09d2