summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-05-29 18:31:25 -0400
committerNate Sesti <sestinj@gmail.com>2023-05-29 18:31:25 -0400
commit22245d2cbf90daa9033d8551207aa986069d8b24 (patch)
tree6a7cdaa88b365a5838c6d2c178fdbba48a667f33 /extension/react-app/src/components
parent9a221fda9b44d0dc7ab2637c9a25d1be226b2b32 (diff)
downloadsncontinue-22245d2cbf90daa9033d8551207aa986069d8b24.tar.gz
sncontinue-22245d2cbf90daa9033d8551207aa986069d8b24.tar.bz2
sncontinue-22245d2cbf90daa9033d8551207aa986069d8b24.zip
(much!) faster inference with starcoder
Diffstat (limited to 'extension/react-app/src/components')
-rw-r--r--extension/react-app/src/components/StepContainer.tsx21
1 files changed, 3 insertions, 18 deletions
diff --git a/extension/react-app/src/components/StepContainer.tsx b/extension/react-app/src/components/StepContainer.tsx
index 03649b66..36b3d99a 100644
--- a/extension/react-app/src/components/StepContainer.tsx
+++ b/extension/react-app/src/components/StepContainer.tsx
@@ -144,6 +144,9 @@ function StepContainer(props: StepContainerProps) {
onSubmit={(ev) => {
props.onUserInput(ev.currentTarget.value);
}}
+ onClick={(e) => {
+ e.stopPropagation();
+ }}
/>
)}
{props.historyNode.step.name === "Waiting for user confirmation" && (
@@ -165,24 +168,6 @@ function StepContainer(props: StepContainerProps) {
/>
</>
)}
-
- {open && (
- <>
- {/* {props.historyNode.observation && (
- <SubContainer title="Error">
- <CodeBlock>Error Here</CodeBlock>
- </SubContainer>
- )} */}
- {/* {props.iterationContext.suggestedChanges.map((sc) => {
- return (
- <SubContainer title="Suggested Change">
- {sc.filepath}
- <CodeBlock>{sc.replacement}</CodeBlock>
- </SubContainer>
- );
- })} */}
- </>
- )}
</StepContainerDiv>
</GradientBorder>