Skip to content

Commit 3452d53

Browse files
Merge pull request #63 from linked-planet/dev
removed unneeded @ts-expect-error
2 parents 949b41d + eedf6b7 commit 3452d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/components/codeblock/CodeBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function CodeBlock({
2525
const ast = language
2626
? lowLight.highlight(language, children)
2727
: lowLight.highlightAuto(children)
28-
// @ts-expect-error: react types don’t type these.
28+
2929
const jsxTree = toJsxRuntime(ast, { Fragment, jsx, jsxs })
3030

3131
return (

0 commit comments

Comments
 (0)