build error
This commit is contained in:
parent
1de7010425
commit
48ddfed5af
@ -87,10 +87,9 @@ export default function Content({ params }: Props) {
|
|||||||
return match ? (
|
return match ? (
|
||||||
<SyntaxHighlighter
|
<SyntaxHighlighter
|
||||||
{...rest}
|
{...rest}
|
||||||
children={getText(children)}
|
|
||||||
language={match[1]}
|
language={match[1]}
|
||||||
style={codeStyle}
|
style={codeStyle}
|
||||||
/>
|
>{getText(children)}</SyntaxHighlighter>
|
||||||
) : (
|
) : (
|
||||||
<code {...rest} className={`${className} text-orange-400 font-black font-mono`}>
|
<code {...rest} className={`${className} text-orange-400 font-black font-mono`}>
|
||||||
{children}
|
{children}
|
||||||
|
Loading…
Reference in New Issue
Block a user