summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/StepContainer.tsx
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-02 21:59:11 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-02 21:59:11 -0700
commit5dda9c10ea8c82a527361949f000b4c22b1bd763 (patch)
tree53f672d79ae53faaa322d1ff33f5774d1a2073ab /extension/react-app/src/components/StepContainer.tsx
parent27256e3417078a209d54c709612b13acf648e646 (diff)
parent9831ac76fbced2f18ec15642eb31d3854af56e67 (diff)
downloadsncontinue-5dda9c10ea8c82a527361949f000b4c22b1bd763.tar.gz
sncontinue-5dda9c10ea8c82a527361949f000b4c22b1bd763.tar.bz2
sncontinue-5dda9c10ea8c82a527361949f000b4c22b1bd763.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.tsx8
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} />;
},
}}
>