diff options
| author | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-09-17 12:55:38 -0400 |
|---|---|---|
| committer | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-09-17 12:55:38 -0400 |
| commit | 313b3d3e67689b175cdc85426ff6af809d476622 (patch) | |
| tree | ce1d4a40bce9bbfcdb9078c9092db1cc7593393e /src/client/views/pdf | |
| parent | 1568898125218538a93666cf5d83b9cf01739b49 (diff) | |
done with comments-- pull request
Diffstat (limited to 'src/client/views/pdf')
| -rw-r--r-- | src/client/views/pdf/GPTPopup/GPTPopup.tsx | 5 |
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)}} /> </> |
