From 93663539deeb5ad487a383c741248c14f999a442 Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Mon, 8 May 2023 16:50:47 +0700
Subject: delete comment

---
 src/lib/checkout/components/Checkout.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/checkout/components/Checkout.jsx')

diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index f777a3a8..effe5ec2 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -183,7 +183,7 @@ const Checkout = () => {
       return
     }
 
-    // for (const product of products) deleteItemCart({ productId: product.id })
+    for (const product of products) deleteItemCart({ productId: product.id })
     const payment = await axios.post(
       `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/midtrans-payment?transactionId=${isCheckouted.id}`
     )
-- 
cgit v1.2.3

