From c2d3e35ff0ce5200776f31bc5030dc3041d19371 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 17 Apr 2023 15:15:46 -0400
Subject: minor cleanup

---
 src/client/views/nodes/formattedText/FormattedTextBox.tsx | 9 ---------
 1 file changed, 9 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 ff4e725ed..3e60441aa 100644
--- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx
+++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
@@ -858,14 +858,6 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FieldViewProps
         this._downX = this._downY = Number.NaN;
     };
 
-    mockGPT = async (): Promise<string> => {
-        return new Promise((resolve, reject) => {
-            setTimeout(() => {
-                resolve('Mock GPT Call.');
-            }, 2000);
-        });
-    };
-
     animateRes = (resIndex: number) => {
         if (resIndex < this.gptRes.length) {
             this.dataDoc.text = (this.dataDoc.text as RichTextField)?.Text + this.gptRes[resIndex];
@@ -878,7 +870,6 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FieldViewProps
     askGPT = action(async () => {
         try {
             let res = await gptAPICall((this.dataDoc.text as RichTextField)?.Text, GPTCallType.COMPLETION);
-            // let res = await this.mockGPT();
             if (res) {
                 this.gptRes = res;
                 this.animateRes(0);
-- 
cgit v1.2.3-70-g09d2

