From aa1d5891540ee71e8486ca4af6dd64cb4bdb63ba Mon Sep 17 00:00:00 2001 From: goncy Date: Wed, 4 Sep 2024 15:20:36 -0300 Subject: [PATCH] Update logic for generation --- src/app/[[...product]]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/[[...product]]/page.tsx b/src/app/[[...product]]/page.tsx index 0aadd4b..b3af1c6 100644 --- a/src/app/[[...product]]/page.tsx +++ b/src/app/[[...product]]/page.tsx @@ -13,7 +13,7 @@ export async function generateStaticParams() { return [ // Build index for the home page... - {product: []}, + {product: undefined}, // ...and for each product ...products.map((product) => ({product: [product.id]})), ];