aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/FormattedTextBox.tsx
diff options
context:
space:
mode:
authoralyssaf16 <alyssa_feinberg@brown.edu>2024-06-24 13:05:02 -0400
committeralyssaf16 <alyssa_feinberg@brown.edu>2024-06-24 13:05:02 -0400
commit20611e69b3f4afca5d35a440278f4dcbbda523c7 (patch)
tree1feb494964e6b72d8686253e8b1a593a12d7a8e2 /src/client/views/nodes/formattedText/FormattedTextBox.tsx
parent6920c387edc480341771edb02f0ac1097c85ae25 (diff)
language menu
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r--src/client/views/nodes/formattedText/FormattedTextBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
index 0be51816f..3c12db965 100644
--- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx
+++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
@@ -1046,7 +1046,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FormattedTextB
);
//const response = await gptImageLabel(u, 'Make flashcards out of this text with each question and answer labeled as question and answer. Do not label each flashcard and do not include asterisks: ');
// console.log(response);
- AnchorMenu.Instance.transferToFlashcard(response || 'Something went wrong');
+ AnchorMenu.Instance.transferToFlashcard(response || 'Something went wrong', NumCast(this.dataDoc['x']), NumCast(this.dataDoc['y']));
// this._props.addto_;
// this.Document[DocData].description = response.trim();
// return response; // Return the response