diff --git a/src/helpers/page-tree.ts b/src/helpers/page-tree.ts index 9a7b5ae..aaa9428 100644 --- a/src/helpers/page-tree.ts +++ b/src/helpers/page-tree.ts @@ -88,8 +88,6 @@ const mapPageTreeItems = ( pagesWithPublishedState.filter(page => page.parent?._ref === parentId); return getChildPages(parentId).map(page => { - // const language = getLanguageFieldName(config); - const pagePath = parentPath ? `${parentPath === '/' ? '' : parentPath}/${page.slug?.current}` : getRootPageSlug(page, config);