Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
djohalo2 committed Jul 12, 2024
1 parent ce4d0a3 commit c7c9778
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/helpers/page-tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c7c9778

Please sign in to comment.