diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-04 13:43:09 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-04 13:43:09 -0700 |
commit | 4b1d10f3bae1f1c80ecf74993f18f318c7b22b7f (patch) | |
tree | 14fea811fe4778e38aadacb6289a7b33a10e0829 /extension/react-app/src/tabs/gui.tsx | |
parent | 7336c1cec7475f3b17d1860f11461e2f23a24049 (diff) | |
download | sncontinue-4b1d10f3bae1f1c80ecf74993f18f318c7b22b7f.tar.gz sncontinue-4b1d10f3bae1f1c80ecf74993f18f318c7b22b7f.tar.bz2 sncontinue-4b1d10f3bae1f1c80ecf74993f18f318c7b22b7f.zip |
many fixes
Diffstat (limited to 'extension/react-app/src/tabs/gui.tsx')
-rw-r--r-- | extension/react-app/src/tabs/gui.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/extension/react-app/src/tabs/gui.tsx b/extension/react-app/src/tabs/gui.tsx index c2ff101a..8bfadc05 100644 --- a/extension/react-app/src/tabs/gui.tsx +++ b/extension/react-app/src/tabs/gui.tsx @@ -70,9 +70,7 @@ function GUI(props: GUIProps) { const [usingFastModel, setUsingFastModel] = useState(false); const [waitingForSteps, setWaitingForSteps] = useState(false); const [userInputQueue, setUserInputQueue] = useState<string[]>([]); - const [highlightedRanges, setHighlightedRanges] = useState([ - { filepath: "abc.txt", range: { start: { line: 2 }, end: { line: 4 } } }, - ]); + const [highlightedRanges, setHighlightedRanges] = useState([]); const [availableSlashCommands, setAvailableSlashCommands] = useState< { name: string; description: string }[] >([]); @@ -296,6 +294,7 @@ function GUI(props: GUIProps) { onDelete={() => { client?.deleteAtIndex(index); }} + historyNode={node} > {node.step.description as string} </UserInputContainer> |