From df1878d845dae17053cc72af973ec97be3f1f1ca Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Mon, 8 Jul 2024 19:35:10 -0400 Subject: [PATCH 1/2] Update page.tsx --- app/products/[productId]/page.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/products/[productId]/page.tsx b/app/products/[productId]/page.tsx index 1c05d36..89f4ba8 100644 --- a/app/products/[productId]/page.tsx +++ b/app/products/[productId]/page.tsx @@ -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 []; } From f71520dc3b414f7188265f6159d2a102fd6fcb34 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Mon, 8 Jul 2024 19:39:14 -0400 Subject: [PATCH 2/2] Update nextjs.yml --- .github/workflows/nextjs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index ed74736..eb4d8a2 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -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