From 8928ba1f332e319cab025987a098c87de607e853 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 24 Apr 2024 19:15:35 -0400 Subject: post merge eslint cleanup --- src/client/views/nodes/formattedText/FormattedTextBox.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx') diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index b6d2a9967..3cd8b8b58 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -1033,7 +1033,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent { if (this._editorView && this._recordingDictation) { - this.stopDictation(true); + this.stopDictation(/* true */); this._break = true; const { state } = this._editorView; const { to } = state.selection; @@ -1054,7 +1054,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent DictationManager.Controls.stop(/* !abort */); + stopDictation = (/* abort: boolean */) => DictationManager.Controls.stop(/* !abort */); setDictationContent = (value: string) => { if (this._editorView && this._recordingStart) { @@ -1323,7 +1323,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent this._recordingDictation, () => { - this.stopDictation(true); + this.stopDictation(/* true */); this._recordingDictation && this.recordDictation(); }, { fireImmediately: true } -- cgit v1.2.3-70-g09d2