build error

This commit is contained in:
Ivan Dimitrov 2023-11-16 10:25:04 +02:00
parent 1de7010425
commit 48ddfed5af

View File

@ -87,10 +87,9 @@ export default function Content({ params }: Props) {
return match ? (
<SyntaxHighlighter
{...rest}
children={getText(children)}
language={match[1]}
style={codeStyle}
/>
>{getText(children)}</SyntaxHighlighter>
) : (
<code {...rest} className={`${className} text-orange-400 font-black font-mono`}>
{children}