diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-13 12:00:35 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-13 12:00:35 -0700 |
commit | bd01bcb807ccdffecbf77faef9ec573e5e2da5f0 (patch) | |
tree | abae61cb2ba9251f0124e604200029e3be7f4708 /extension/react-app/src/components | |
parent | 34f2234e8be2b922876d2fcd519e3c124b397fd2 (diff) | |
download | sncontinue-bd01bcb807ccdffecbf77faef9ec573e5e2da5f0.tar.gz sncontinue-bd01bcb807ccdffecbf77faef9ec573e5e2da5f0.tar.bz2 sncontinue-bd01bcb807ccdffecbf77faef9ec573e5e2da5f0.zip |
env to .env to be caught by .gitignore
Diffstat (limited to 'extension/react-app/src/components')
-rw-r--r-- | extension/react-app/src/components/ComboBox.tsx | 2 | ||||
-rw-r--r-- | extension/react-app/src/components/StepContainer.tsx | 20 |
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> |