From abee48dc3b25661aef82bdbf0dd0b78262fcecf4 Mon Sep 17 00:00:00 2001
From: Sophie Zhang <sophie_zhang@brown.edu>
Date: Tue, 14 May 2024 16:40:29 -0400
Subject: stop dictation

---
 src/client/views/nodes/trails/PresBox.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/client/views/nodes/trails/PresBox.tsx')

diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx
index 21504deba..d148719a2 100644
--- a/src/client/views/nodes/trails/PresBox.tsx
+++ b/src/client/views/nodes/trails/PresBox.tsx
@@ -2015,6 +2015,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() {
                                 iconPlacement="right"
                                 color={StrCast(Doc.UserDoc().userVariantColor)}
                                 onClick={() => {
+                                    this.stopDictation(true);
                                     this.customizeWithGPT(this.chatInput);
                                 }}
                             />
-- 
cgit v1.2.3-70-g09d2

