From 45169dd1d5fd143a33e88c78e1e5a0da1a5a6621 Mon Sep 17 00:00:00 2001 From: Kunthawat Date: Tue, 10 Mar 2026 14:01:39 +0700 Subject: [PATCH] fix: Remove duplicate code in product pages Fixed syntax error causing build failure --- src/pages/products/[slug].astro | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/src/pages/products/[slug].astro b/src/pages/products/[slug].astro index e5123047a..0c234c428 100644 --- a/src/pages/products/[slug].astro +++ b/src/pages/products/[slug].astro @@ -86,29 +86,9 @@ const productTables = productData?.productTables || []; ))} - )})} - - - - {table.rows.map((row, rowIndex) => ( - - {row.map((cell, cellIndex) => ( - - {cell} - - ))} - - ))} - - - - - ))} - - )} - + {product.data.specifications && product.data.specifications.length > 0 && (

ข้อมูลจำเพาะ