summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-07-12 13:31:24 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-07-12 13:31:24 +0700
commitccb5ea650de36e537802893d0abb351739b480b8 (patch)
treef7c30367e01d97f7c147683d0457f442bc7ae608 /src/lib/checkout/components
parentde1bb091b148aa5ef2d5a168e19f1c2dac9e67b0 (diff)
bug
Diffstat (limited to 'src/lib/checkout/components')
-rw-r--r--src/lib/checkout/components/Checkout.jsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index 3c2b8a09..73040425 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -245,7 +245,6 @@ const Checkout = () => {
setTotalWeight(cartCheckout?.totalWeight.g);
setHasFlashSale(cartCheckout?.products[0]?.hasFlashsale ? cartCheckout.products[0].hasFlashsale : false);
}, [cartCheckout]);
-
useEffect(() => {
setCheckoutValidation(false);
@@ -1392,9 +1391,6 @@ const Checkout = () => {
<div>Grand Total</div>
<div className='font-semibold text-gray_r-12'>
{currencyFormat(grandTotal)}
- {currencyFormat(
- cartCheckout?.grandTotal + finalShippingAmt
- )}
</div>
</div>
)}