diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2023-07-24 03:40:43 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2023-07-24 03:40:43 +0000 |
| commit | d4f3cce1b07c5d4f75892ffc49c8dbbbbb58922f (patch) | |
| tree | fc4bd80350babb3921b4fdba9b3d374bda065617 | |
| parent | 4fcb73a336a6025a0ead194b317543efcd4f0e4b (diff) | |
| parent | 619f79d87752e28d24d3cb0a79448e8c3191e9ff (diff) | |
Merged in Feature/promotion_programvaoucher (pull request #16)
validate list voucher
| -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 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> |
