From 33411e1b5f35b21b1dc0c35528900c9a5ed93ef7 Mon Sep 17 00:00:00 2001
From: Miqdad <ahmadmiqdad27@gmail.com>
Date: Tue, 7 Oct 2025 10:35:31 +0700
Subject: <Miqdad> Disable lanjut pembayaran button when loading

---
 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 8851b84c..6cda069c 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -1277,7 +1277,7 @@ const Checkout = () => {
             className='flex-1 btn-yellow'
             onClick={checkout}
             disabled={
-              !products || products?.length == 0 || priceCheck || hasNoPrice
+              !products || products?.length == 0 || priceCheck || hasNoPrice || isLoading
             }
           >
             {isLoading ? 'Loading...' : 'Lanjut Pembayaran'}
-- 
cgit v1.2.3

