aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/GPTPopup
diff options
context:
space:
mode:
authoraidahosa1 <aisosa_idahosa@brown.edu>2024-09-19 00:48:42 -0400
committeraidahosa1 <aisosa_idahosa@brown.edu>2024-09-19 00:48:42 -0400
commit62553588078728ac462cda27b9ddd45f5a6412aa (patch)
treec17984aa29c57c2cad53df2d7373a8649f84b93c /src/client/views/pdf/GPTPopup
parent18056735bdeddca55f530d41259874a4ed3ae200 (diff)
fixed icon disapearring bug
Diffstat (limited to 'src/client/views/pdf/GPTPopup')
-rw-r--r--src/client/views/pdf/GPTPopup/GPTPopup.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/GPTPopup/GPTPopup.tsx b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
index ed3f99377..d5f5f620c 100644
--- a/src/client/views/pdf/GPTPopup/GPTPopup.tsx
+++ b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
@@ -74,7 +74,7 @@ export class GPTPopup extends ObservableReactComponent<GPTPopupProps> {
};
@observable
public dataJson: string = '';
- public dataChatPrompt: string | null = null;
+ public dataChatPrompt: string | undefined = undefined;
@action
public setDataJson = (text: string) => {
if (text === '') this.dataChatPrompt = '';