mirror of
https://github.com/vercel/commerce.git
synced 2025-05-16 06:26:58 +00:00
fix: remove console.logs
This commit is contained in:
parent
8d70c0cdb5
commit
a05a6ac65c
@ -12,7 +12,6 @@ export async function generateMetadata({
|
||||
}: {
|
||||
params: { collection: string };
|
||||
}): Promise<Metadata> {
|
||||
console.log({ params });
|
||||
const collection = await getCategory(params.collection);
|
||||
|
||||
if (!collection) return notFound();
|
||||
@ -34,7 +33,6 @@ export async function generateMetadata({
|
||||
}
|
||||
|
||||
export default async function CategoryPage({ params }: { params: { collection: string } }) {
|
||||
console.log({ collection: params.collection });
|
||||
const products = await getCategoryProducts(params.collection);
|
||||
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user