Change url to products/

This commit is contained in:
Daniel Gent
2021-08-23 19:07:19 +02:00
parent 0e7e7b7d5f
commit b5455ae2fd
3 changed files with 5 additions and 5 deletions

View File

@@ -84,7 +84,7 @@ const CartItem = ({
>
<div className="flex flex-row space-x-4 py-4">
<div className="w-16 h-16 bg-violet relative overflow-hidden cursor-pointer z-0">
<Link href={`/product/${item.path}`}>
<Link href={`/products/${item.path}`}>
<Image
onClick={() => closeSidebarIfPresent()}
className={s.productImage}
@@ -97,7 +97,7 @@ const CartItem = ({
</Link>
</div>
<div className="flex-1 flex flex-col text-base">
<Link href={`/product/${item.path}`}>
<Link href={`/products/${item.path}`}>
<span
className={s.productName}
onClick={() => closeSidebarIfPresent()}