diff options
| author | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-10-08 10:49:31 -0400 |
|---|---|---|
| committer | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-10-08 10:49:31 -0400 |
| commit | caceff7f37b4e49621bc3495bf1d51fcc3a79957 (patch) | |
| tree | 78b742655d8b362f78f23a54ab55a4b1c3db92ae /src/client/views/pdf/AnchorMenu.tsx | |
| parent | a606005a5934913c38fba9b73886ee6e743aa635 (diff) | |
| parent | fc3e2b18b9dad38920e1cec5e58bf9fbd06f4aaf (diff) | |
Merge branch 'alyssa-starter' of https://github.com/brown-dash/Dash-Web into alyssa-starter
Diffstat (limited to 'src/client/views/pdf/AnchorMenu.tsx')
| -rw-r--r-- | src/client/views/pdf/AnchorMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/AnchorMenu.tsx b/src/client/views/pdf/AnchorMenu.tsx index e3a968180..b204d3692 100644 --- a/src/client/views/pdf/AnchorMenu.tsx +++ b/src/client/views/pdf/AnchorMenu.tsx @@ -118,7 +118,7 @@ export class AnchorMenu extends AntimodeMenu<AntimodeMenuProps> { transferToFlashcard = (text: string, x: number, y: number) => { // put each question generated by GPT on the front of the flashcard - const senArr = text.trim().split('Question: '); + const senArr = text.trim().split('Question:'); const collectionArr: Doc[] = []; for (let i = 1; i < senArr.length; i++) { const newDoc = Docs.Create.ComparisonDocument(senArr[i], { _layout_isFlashcard: true, _width: 300, _height: 300 }); |
