summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5a9dcf7f..11a14e31 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -421,7 +421,7 @@ const Checkout = () => {
<hr className='mt-10 my-4 border-gray_r-10' />
<div className=''>
- {!loadingVoucher && !listVouchers ? (
+ {!loadingVoucher && listVouchers.length === 0 ? (
<div className='flex items-center justify-center mt-4 mb-4'>
<div className='text-center'>
<h1 className='font-bold mb-4'>Tidak ada voucher tersedia</h1>