Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Logan committed Jun 7, 2024
1 parent bf1cb05 commit c0434fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/utils/getChildPageNodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ import { PageNode } from 'src/directory/directory';
* @returns
*/
export const getChildPageNodes = (route: string) => {
console.log('ROUTE!!!!');
console.log(route);
return traverseDirectory(route, directory as PageNode) || [];
};

function traverseDirectory(route: string, node: PageNode) {
if (node.route === route) {
console.log(node.children);
return node.children;
}

Expand Down

0 comments on commit c0434fa

Please sign in to comment.