From 95f49f1de12ae612957b60ed53cf5993b9b7ef1e Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 19 Feb 2024 16:07:25 +0700
Subject: Add promotion program smooth animation

---
 src-migrate/modules/cart/components/Item.tsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'src-migrate/modules/cart/components/Item.tsx')

diff --git a/src-migrate/modules/cart/components/Item.tsx b/src-migrate/modules/cart/components/Item.tsx
index 8a6f8822..ba7f7cdf 100644
--- a/src-migrate/modules/cart/components/Item.tsx
+++ b/src-migrate/modules/cart/components/Item.tsx
@@ -72,7 +72,7 @@ const CartItem = ({ item, editable = true }: Props) => {
                       Rp {formatCurrency((item.price.price || 0))}
                     </span>
                   )}
-                  
+
                   <div className={style.price}>
                     {item.price.price_discount > 0 && `Rp ${formatCurrency(item.price.price_discount)}`}
                     {item.price.price_discount === 0 && '-'}
@@ -81,9 +81,7 @@ const CartItem = ({ item, editable = true }: Props) => {
               )}
 
               <div>{item.cart_type === 'product' && item.code}</div>
-              <div>
-                {item.weight} Kg
-              </div>
+              <div>{item.weight} Kg</div>
             </div>
 
             {editable && <CartItemAction item={item} />}
-- 
cgit v1.2.3

