diff --git a/packages/ui/src/hooks/useTreeFlatten.ts b/packages/ui/src/hooks/useTreeFlatten.ts index a34bd4b..dbd8624 100644 --- a/packages/ui/src/hooks/useTreeFlatten.ts +++ b/packages/ui/src/hooks/useTreeFlatten.ts @@ -7,7 +7,6 @@ function flattenTree( getChildren: (node: T) => T[] | undefined, level: number = 0 ): Flattened[] { - console.log('CALLED'); return tree.reduce((acc: Flattened[], node: T) => { const children = getChildren(node); acc.push({ ...node, level }); diff --git a/packages/ui/src/widgets/Navigation/NavigationMenu.tsx b/packages/ui/src/widgets/Navigation/NavigationMenu.tsx index dfb5c85..14859ab 100644 --- a/packages/ui/src/widgets/Navigation/NavigationMenu.tsx +++ b/packages/ui/src/widgets/Navigation/NavigationMenu.tsx @@ -21,11 +21,6 @@ export function NavigationMenu({ getKey: (item) => item.url, }); - console.log({ - linksFlat, - linkList: linkList.items - }); - return (