Skip to content

Commit

Permalink
Remove leftover logging
Browse files Browse the repository at this point in the history
  • Loading branch information
paescuj committed Dec 15, 2024
1 parent a1d609d commit 401a53c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions iconoir.com/pages/docs/[...slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ function itemFromSlug(
): DocumentationItem {
const flatItems = flattenItems(items);

console.log(flatItems);
const joinedSlug = slug.filter(Boolean).join('/');
const item = flatItems.find((flatItem) => flatItem.path === joinedSlug);
if (!item)
Expand All @@ -268,7 +267,6 @@ function cleanSource(source: string): string {

export async function getStaticProps(context: GetStaticPropsContext) {
const items = getDocumentationStructure();
console.log(items);

const navigationItem = itemFromSlug(items, context.params!.slug as string[]);
const repositoryRoot = path.join(process.cwd(), '..');
Expand Down

0 comments on commit 401a53c

Please sign in to comment.