From 8159e6371efb3501d23f6103da4b7489a6c86d93 Mon Sep 17 00:00:00 2001
From: Nate Sesti <sestinj@gmail.com>
Date: Wed, 28 Jun 2023 12:54:21 -0700
Subject: patch

---
 extension/react-app/src/components/StepContainer.tsx | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

(limited to 'extension/react-app/src/components/StepContainer.tsx')

diff --git a/extension/react-app/src/components/StepContainer.tsx b/extension/react-app/src/components/StepContainer.tsx
index 827d2d5f..02c04548 100644
--- a/extension/react-app/src/components/StepContainer.tsx
+++ b/extension/react-app/src/components/StepContainer.tsx
@@ -246,18 +246,10 @@ function StepContainer(props: StepContainerProps) {
               className="overflow-x-scroll"
               components={{
                 pre: ({ node, ...props }) => {
-                  return (
-                    <CodeBlock
-                      children={props.children[0] as string}
-                    ></CodeBlock>
-                  );
+                  return <CodeBlock children={props.children[0]} />;
                 },
                 code: ({ node, ...props }) => {
-                  return (
-                    <StyledCode
-                      children={props.children[0] as string}
-                    ></StyledCode>
-                  );
+                  return <StyledCode children={props.children[0]} />;
                 },
               }}
             >
-- 
cgit v1.2.3-70-g09d2

