diff --git a/app/product/[handle]/page.tsx b/app/products/[handle]/page.tsx similarity index 98% rename from app/product/[handle]/page.tsx rename to app/products/[handle]/page.tsx index a5351a8fb..3ae1bbf2c 100644 --- a/app/product/[handle]/page.tsx +++ b/app/products/[handle]/page.tsx @@ -123,7 +123,7 @@ async function RelatedProducts({ id }: { id: string }) { products.map((product) => ({ - url: `${baseUrl}/product/${product.handle}`, + url: `${baseUrl}/products/${product.handle}`, lastModified: product.updatedAt })) ); diff --git a/components/carousel.tsx b/components/carousel.tsx index d67ba5deb..24a24cfc1 100644 --- a/components/carousel.tsx +++ b/components/carousel.tsx @@ -14,7 +14,7 @@ export async function Carousel() { {[...products, ...products].map((product, i) => ( - + {products.map((product) => ( - +