We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 949b41d + eedf6b7 commit 3452d53Copy full SHA for 3452d53
library/src/components/codeblock/CodeBlock.tsx
@@ -25,7 +25,7 @@ function CodeBlock({
25
const ast = language
26
? lowLight.highlight(language, children)
27
: lowLight.highlightAuto(children)
28
- // @ts-expect-error: react types don’t type these.
+
29
const jsxTree = toJsxRuntime(ast, { Fragment, jsx, jsxs })
30
31
return (
0 commit comments