diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-18 10:06:14 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-18 10:06:14 +0700 |
| commit | 4aface3ba2fa7c74a152ac0fe03b9e32e3ef68e1 (patch) | |
| tree | 2fcdab847643ecf09568aad9ed6613bd8b1517d2 /src | |
| parent | c8ecabc13896f93571710881344ec8c2f8ae4b73 (diff) | |
<iman> update bug ga bisa pilih alamat
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/checkout/components/Checkout.jsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx index 09a791ee..52f1b3ed 100644 --- a/src/lib/checkout/components/Checkout.jsx +++ b/src/lib/checkout/components/Checkout.jsx @@ -77,6 +77,9 @@ const Checkout = () => { if (!addresses) return; const matchAddress = (key) => { + if (key === 'invoicing') { + key = 'invoice'; + } const addressToMatch = getItemAddress(key); const foundAddress = addresses.filter( (address) => address.id == addressToMatch |
