diff options
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> | 
