File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -159,15 +159,14 @@ export default class ConfigValidator implements IConfigValidator {
159159 if ( ! customization . customPages ) {
160160 customization . customPages = [ ] ;
161161 }
162- customization . customPages . forEach ( ( page , i ) => {
162+ customization . customPages . forEach ( ( page ) => {
163163 page . component = this . validateComponent ( page . component , errors ) ;
164164 const meta = page . component . meta || { } ;
165165 if ( meta . sidebarAndHeader === undefined ) {
166166 meta . sidebarAndHeader = meta . customLayout === true ? 'none' : 'default' ;
167167 }
168168 delete meta . customLayout ;
169169 page . component . meta = meta ;
170- customization . customPages [ i ] . component = page . component ;
171170 } ) ;
172171
173172 if ( ! customization . brandName ) { //} === undefined) {
You can’t perform that action at this time.
0 commit comments