From 6a756bdd563205b1005a4fb573993c21db301543 Mon Sep 17 00:00:00 2001 From: jsapro <77.3.77@mail.ru> Date: Sat, 6 Jan 2024 22:57:15 +0300 Subject: [PATCH] feat: add link to product from shopping cart --- src/components/shopping-item/index.tsx | 11 ++++++++--- .../shopping-item/shopping-item.module.scss | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/components/shopping-item/index.tsx b/src/components/shopping-item/index.tsx index d67b0654..e759faa2 100644 --- a/src/components/shopping-item/index.tsx +++ b/src/components/shopping-item/index.tsx @@ -50,9 +50,14 @@ const ShoppingItem: React.FC = (props) => {
-

{`${product.name}, ${ - amount + measureUnit - }`}

+ +

{`${product.name}, ${ + amount + measureUnit + }`}

+