From 3674cf64839c77175188e0b04b12b3e8f2d6fb48 Mon Sep 17 00:00:00 2001 From: code-yateen Date: Thu, 2 Jan 2025 17:46:14 +0530 Subject: [PATCH] Update CodeBlock.tsx , correct comp CodeBlock prams highlightedLines --- components/editor/CodeBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,