Skip to content

Commit

Permalink
Update page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerryzjx committed Jul 8, 2024
1 parent 3eb0dcc commit df1878d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/products/[productId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ async function getBike(productId: string) {
}

export async function generateStaticParams() {
// If you have a fixed set of product IDs, you can return them here
// Otherwise, return an empty array and handle dynamic routes
return [];
}

Expand Down

0 comments on commit df1878d

Please sign in to comment.