From 0d34ea8ab82be1140916a48df4e46ef15c7b23db Mon Sep 17 00:00:00 2001 From: alyssaf16 Date: Sun, 29 Sep 2024 16:54:22 -0400 Subject: comments --- src/client/views/nodes/ComparisonBox.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/nodes/ComparisonBox.tsx b/src/client/views/nodes/ComparisonBox.tsx index 30237ac64..9ac8d7c52 100644 --- a/src/client/views/nodes/ComparisonBox.tsx +++ b/src/client/views/nodes/ComparisonBox.tsx @@ -13,7 +13,7 @@ import { DocCast, NumCast, RTFCast, StrCast, toList } from '../../../fields/Type import { GPTCallType, gptAPICall, gptImageLabel } from '../../apis/gpt/GPT'; import '../pdf/GPTPopup/GPTPopup.scss'; import { DocUtils } from '../../documents/DocUtils'; -import { DocumentType } from '../../documents/DocumentTypes'; +import { CollectionViewType, DocumentType } from '../../documents/DocumentTypes'; import { Docs } from '../../documents/Documents'; import { DragManager } from '../../util/DragManager'; import { dropActionType } from '../../util/DropActionTypes'; @@ -311,6 +311,9 @@ export class ComparisonBox extends ViewBoxAnnotatableComponent() } }; + /** + * Set up speech to text tool. + */ setListening = () => { const SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition; if (SpeechRecognition) { -- cgit v1.2.3-70-g09d2