diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-05-08 16:50:47 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-05-08 16:50:47 +0700 |
| commit | 93663539deeb5ad487a383c741248c14f999a442 (patch) | |
| tree | 6be78546dade400dc686b7d47367b5c0a49b9419 /src | |
| parent | 486f85a45fc7e0669576f59824a31be472ed25bb (diff) | |
delete comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/checkout/components/Checkout.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
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}` ) |
