From c7c977878b746fdd5aace19c2504d5273c7ad708 Mon Sep 17 00:00:00 2001 From: djohalo2 Date: Fri, 12 Jul 2024 14:41:18 +0200 Subject: [PATCH] Remove commented code --- src/helpers/page-tree.ts | 2 -- 1 file changed, 2 deletions(-) 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);