File tree Expand file tree Collapse file tree
src/renderers/react/functions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ function buildLayoutProps(
132132
133133// ─── Node Override Helpers ─────────────────────────────────────────────────
134134
135- function renderCodeBlockContainer ( node : TNode , cfg : ResolvedReactConfig ) : ReactNode {
135+ function renderCodeBlockContainer ( node : TNode ) : ReactNode {
136136 const { language, lines } = resolveCodeBlockLines ( node ) ;
137137
138138 const linesWithNewlines = lines . map ( ( text , i ) => ( i < lines . length - 1 ? `${ text } \n` : text ) ) ;
@@ -174,7 +174,7 @@ export function buildRendererConfig(
174174 nodeOverrides : {
175175 'line-break' : ( ) => createElement ( 'br' ) ,
176176
177- 'code-block-container' : ( node ) => renderCodeBlockContainer ( node , cfg ) ,
177+ 'code-block-container' : ( node ) => renderCodeBlockContainer ( node ) ,
178178 } ,
179179
180180 blocks : {
You can’t perform that action at this time.
0 commit comments