Skip to content

Commit 789b550

Browse files
committed
chore: remove some console logs
1 parent b57de2b commit 789b550

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/_components/featured.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,5 @@ export const FeaturedPattern = () => {
8080
getRandomPattern().then(setPattern)
8181
}, [])
8282

83-
console.log(pattern)
84-
8583
return pattern ? <FeaturedPatternSection pattern={pattern} /> : <FeaturedPatternSkeleton />;
8684
};

app/api/mdx/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function getAllMdxContent(locale: string) {
4343
const pageMap = await getPageMap(`/${locale}/patterns/${category}`);
4444
return (pageMap || []).filter(page => 'name' in page);
4545
} catch (error) {
46-
console.log(`No content found for category: ${category}`, error);
46+
console.warn(`No content found for category: ${category}`, error);
4747
return [];
4848
}
4949
})

0 commit comments

Comments
 (0)