summaryrefslogtreecommitdiff
path: root/extension/react-app
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-13 12:00:35 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-13 12:00:35 -0700
commitbd01bcb807ccdffecbf77faef9ec573e5e2da5f0 (patch)
treeabae61cb2ba9251f0124e604200029e3be7f4708 /extension/react-app
parent34f2234e8be2b922876d2fcd519e3c124b397fd2 (diff)
downloadsncontinue-bd01bcb807ccdffecbf77faef9ec573e5e2da5f0.tar.gz
sncontinue-bd01bcb807ccdffecbf77faef9ec573e5e2da5f0.tar.bz2
sncontinue-bd01bcb807ccdffecbf77faef9ec573e5e2da5f0.zip
env to .env to be caught by .gitignore
Diffstat (limited to 'extension/react-app')
-rw-r--r--extension/react-app/src/components/ComboBox.tsx2
-rw-r--r--extension/react-app/src/components/StepContainer.tsx20
2 files changed, 12 insertions, 10 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index 1b7c60e6..46d8c4d3 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -105,7 +105,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
<div className="flex px-2" ref={divRef} hidden={!isOpen}>
<MainTextInput
disabled={props.disabled}
- placeholder="Ask anything:"
+ placeholder="Type an instruction or question."
{...getInputProps({
onKeyDown: (event) => {
if (event.key === "Enter" && (!isOpen || items.length === 0)) {
diff --git a/extension/react-app/src/components/StepContainer.tsx b/extension/react-app/src/components/StepContainer.tsx
index ca142b06..48f970d7 100644
--- a/extension/react-app/src/components/StepContainer.tsx
+++ b/extension/react-app/src/components/StepContainer.tsx
@@ -194,15 +194,17 @@ function StepContainer(props: StepContainerProps) {
<ReactMarkdown
key={1}
className="overflow-scroll"
- components={{
- pre: ({ node, ...props }) => {
- return (
- <CodeBlock
- children={props.children[0] as string}
- ></CodeBlock>
- );
- },
- }}
+ components={
+ {
+ // pre: ({ node, ...props }) => {
+ // return (
+ // <CodeBlock
+ // children={props.children[0] as string}
+ // ></CodeBlock>
+ // );
+ // },
+ }
+ }
>
{props.historyNode.step.description as any}
</ReactMarkdown>