build error
This commit is contained in:
parent
1de7010425
commit
48ddfed5af
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user