diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-02 21:59:11 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-02 21:59:11 -0700 |
commit | 527c5c7ce2a1605935814e83e851d7539d12e6d0 (patch) | |
tree | 619878c7279c376b4ff9c949c898938c822dce6e /extension/react-app/src/components/StepContainer.tsx | |
parent | f9ea4f84da154d0c3391d572ce958bc6bb4a96cd (diff) | |
parent | cf3d08ceaabecd80b20aaac24c5c166cd8e6472f (diff) | |
download | sncontinue-527c5c7ce2a1605935814e83e851d7539d12e6d0.tar.gz sncontinue-527c5c7ce2a1605935814e83e851d7539d12e6d0.tar.bz2 sncontinue-527c5c7ce2a1605935814e83e851d7539d12e6d0.zip |
Merge branch 'main' of https://github.com/continuedev/continue
Diffstat (limited to 'extension/react-app/src/components/StepContainer.tsx')
-rw-r--r-- | extension/react-app/src/components/StepContainer.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/extension/react-app/src/components/StepContainer.tsx b/extension/react-app/src/components/StepContainer.tsx index 02c04548..cb83f20a 100644 --- a/extension/react-app/src/components/StepContainer.tsx +++ b/extension/react-app/src/components/StepContainer.tsx @@ -246,10 +246,14 @@ function StepContainer(props: StepContainerProps) { className="overflow-x-scroll" components={{ pre: ({ node, ...props }) => { - return <CodeBlock children={props.children[0]} />; + return ( + <CodeBlock + children={(props.children[0] as any).props.children[0]} + /> + ); }, code: ({ node, ...props }) => { - return <StyledCode children={props.children[0]} />; + return <StyledCode children={props.children[0] as any} />; }, }} > |