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 | 276a7ab42a6cbeea931b6eeb7a27f56f60b3fb86 (patch) | |
tree | 8ccb117ce5a631ddd6adf10fe953ff4eb33e11d7 /extension/react-app | |
parent | baf084ae08377fafe6e147320454a6110cd5765e (diff) | |
download | sncontinue-276a7ab42a6cbeea931b6eeb7a27f56f60b3fb86.tar.gz sncontinue-276a7ab42a6cbeea931b6eeb7a27f56f60b3fb86.tar.bz2 sncontinue-276a7ab42a6cbeea931b6eeb7a27f56f60b3fb86.zip |
env to .env to be caught by .gitignore
Diffstat (limited to 'extension/react-app')
-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> |