From cf9d8c40f480be22c1cfd0493177b5a61adf8d0f Mon Sep 17 00:00:00 2001
From: Nate Sesti <sestinj@gmail.com>
Date: Mon, 26 Jun 2023 17:41:12 -0700
Subject: syntax highlighting lang auto detection

---
 extension/react-app/src/components/StyledCode.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

diff --git a/extension/react-app/src/components/StyledCode.tsx b/extension/react-app/src/components/StyledCode.tsx
index 485c70b6..c5ed0101 100644
--- a/extension/react-app/src/components/StyledCode.tsx
+++ b/extension/react-app/src/components/StyledCode.tsx
@@ -12,7 +12,7 @@ const StyledCode = (props: StyledCodeProps) => (
     style={highlightStyle}
     language={props.language || "python"}
   >
-    {(props.children as any).props.children}
+    {props.children}
   </SyntaxHighlighter>
 );
 
-- 
cgit v1.2.3-70-g09d2

