Skip to content

Commit

Permalink
dev: Removed console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-crowell committed Jul 3, 2024
1 parent 4cc33eb commit dab6952
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/ui/src/hooks/useTreeFlatten.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ function flattenTree<T extends object>(
getChildren: (node: T) => T[] | undefined,
level: number = 0
): Flattened<T>[] {
console.log('CALLED');
return tree.reduce((acc: Flattened<T>[], node: T) => {
const children = getChildren(node);
acc.push({ ...node, level });
Expand Down
5 changes: 0 additions & 5 deletions packages/ui/src/widgets/Navigation/NavigationMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ export function NavigationMenu({
getKey: (item) => item.url,
});

console.log({
linksFlat,
linkList: linkList.items
});

return (
<Tabs
orientation="vertical"
Expand Down
5 changes: 4 additions & 1 deletion packages/ui/src/widgets/Navigation/NavigationPopovers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ export function NavigationPopovers({
<NavigationMenu
base={{
...base,
links: [ link, ...link.links ?? [] ],
links: [ {
title: link.title,
url: link.url,
}, ...link.links ?? [] ],
}}
/>
</Popover>
Expand Down

0 comments on commit dab6952

Please sign in to comment.