summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-10-07 10:35:31 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-10-07 10:35:31 +0700
commit33411e1b5f35b21b1dc0c35528900c9a5ed93ef7 (patch)
treeec69e009ae9f653cf3682294b06d728ae31dd412 /src/lib
parenta05ed67c86c432a764e1cbd97dcc81cca2187bfe (diff)
<Miqdad> Disable lanjut pembayaran button when loading
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/checkout/components/Checkout.jsx2
1 files changed, 1 insertions, 1 deletions
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'}