fix: remove console.logs

This commit is contained in:
Victor Gerbrands 2023-05-10 16:51:43 +02:00
parent 8d70c0cdb5
commit a05a6ac65c

View File

@ -12,7 +12,6 @@ export async function generateMetadata({
}: { }: {
params: { collection: string }; params: { collection: string };
}): Promise<Metadata> { }): Promise<Metadata> {
console.log({ params });
const collection = await getCategory(params.collection); const collection = await getCategory(params.collection);
if (!collection) return notFound(); if (!collection) return notFound();
@ -34,7 +33,6 @@ export async function generateMetadata({
} }
export default async function CategoryPage({ params }: { params: { collection: string } }) { export default async function CategoryPage({ params }: { params: { collection: string } }) {
console.log({ collection: params.collection });
const products = await getCategoryProducts(params.collection); const products = await getCategoryProducts(params.collection);
return ( return (