Skip to content

Commit

Permalink
Update logic for generation
Browse files Browse the repository at this point in the history
  • Loading branch information
goncy committed Sep 4, 2024
1 parent c00546a commit aa1d589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/[[...product]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]})),
];
Expand Down

0 comments on commit aa1d589

Please sign in to comment.