We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b57de2b commit 789b550Copy full SHA for 789b550
app/_components/featured.tsx
@@ -80,7 +80,5 @@ export const FeaturedPattern = () => {
80
getRandomPattern().then(setPattern)
81
}, [])
82
83
- console.log(pattern)
84
-
85
return pattern ? <FeaturedPatternSection pattern={pattern} /> : <FeaturedPatternSkeleton />;
86
};
app/api/mdx/route.ts
@@ -43,7 +43,7 @@ async function getAllMdxContent(locale: string) {
43
const pageMap = await getPageMap(`/${locale}/patterns/${category}`);
44
return (pageMap || []).filter(page => 'name' in page);
45
} catch (error) {
46
- console.log(`No content found for category: ${category}`, error);
+ console.warn(`No content found for category: ${category}`, error);
47
return [];
48
}
49
})
0 commit comments