diff --git a/components/editor/CodeBlock.tsx b/components/editor/CodeBlock.tsx index e5bd4675e3ab..5ff4e6a35616 100644 --- a/components/editor/CodeBlock.tsx +++ b/components/editor/CodeBlock.tsx @@ -200,7 +200,7 @@ export default function CodeBlock({ codeBlocks, className = '', highlightClassName = '', - highlightedLines, + highlightedLines = [], language = 'yaml', hasWindow = false, showCopy = true,