File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -346,12 +346,12 @@ export async function exportPagesAndComponents() {
346346 const responsiveCode = await responsiveCodegen . generateResponsiveCode ( )
347347 const baseName = toPascal ( sectionNode . name )
348348 const pageName = isParentSection ? `${ baseName } Page` : baseName
349- const wrappedCode = wrapComponent ( pageName , responsiveCode , {
350- exportDefault : isParentSection ,
349+ const wrappedCode = wrapComponent ( 'Page' , responsiveCode , {
350+ exportDefault : true ,
351351 } )
352352
353353 const pageCodeEntry : ReadonlyArray < readonly [ string , string ] > = [
354- [ pageName , wrappedCode ] ,
354+ [ 'Page' , wrappedCode ] ,
355355 ]
356356 const importStatement = generateImportStatements ( pageCodeEntry )
357357 const fullCode = importStatement + wrappedCode
You can’t perform that action at this time.
0 commit comments