Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerryzjx committed Jul 8, 2024
2 parents 2f99475 + f71520d commit 96ef7f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: ${{ steps.detect-package-manager.outputs.manager }}
- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
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 96ef7f4

Please sign in to comment.