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 9, 2024
1 parent 96ef7f4 commit e912be3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/products/[productId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ async function getBike(productId: string) {
return bike;
}

export async function generateStaticParams() {
return [];
}


export default async function ProductPage({ params }: { params: { productId: string } }) {
const bike = await getBike(params.productId);
Expand Down

0 comments on commit e912be3

Please sign in to comment.