aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/GPTPopup
diff options
context:
space:
mode:
authoraidahosa1 <aisosa_idahosa@brown.edu>2024-09-17 12:55:38 -0400
committeraidahosa1 <aisosa_idahosa@brown.edu>2024-09-17 12:55:38 -0400
commit313b3d3e67689b175cdc85426ff6af809d476622 (patch)
treece1d4a40bce9bbfcdb9078c9092db1cc7593393e /src/client/views/pdf/GPTPopup
parent1568898125218538a93666cf5d83b9cf01739b49 (diff)
done with comments-- pull request
Diffstat (limited to 'src/client/views/pdf/GPTPopup')
-rw-r--r--src/client/views/pdf/GPTPopup/GPTPopup.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/pdf/GPTPopup/GPTPopup.tsx b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
index 002e82332..53bedbb65 100644
--- a/src/client/views/pdf/GPTPopup/GPTPopup.tsx
+++ b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
@@ -279,7 +279,7 @@ export class GPTPopup extends ObservableReactComponent<GPTPopupProps> {
}
/**
- * Generates a response to the user's questoin depending on the type of their question
+ * Generates a response to the user's question depending on the type of their question
*/
generateCard = async () => {
console.log(this.chatSortPrompt + "USER PROMPT")
@@ -798,7 +798,8 @@ export class GPTPopup extends ObservableReactComponent<GPTPopupProps> {
color={StrCast(SettingsManager.userVariantColor)}
tooltip="close"
icon={<CgClose size="16px" />}
- onClick={() => this.setVisible(false)}
+ onClick={() => {
+ this.setVisible(false)}}
/>
</>