fix(products): rename product to products

https://github.com/vercel/commerce/issues/1285
This commit is contained in:
tonytangdev 2024-01-25 21:35:51 +01:00
parent 3a18f9a098
commit d5e2453bc5

View File

@ -121,7 +121,7 @@ async function RelatedProducts({ id }: { id: string }) {
key={product.handle}
className="aspect-square w-full flex-none min-[475px]:w-1/2 sm:w-1/3 md:w-1/4 lg:w-1/5"
>
<Link className="relative h-full w-full" href={`/product/${product.handle}`}>
<Link className="relative h-full w-full" href={`/products/${product.handle}`}>
<GridTileImage
alt={product.title}
label={{