summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components/Checkout.jsx
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-09-24 09:33:10 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-09-24 09:33:10 +0700
commitd4cb977d050a54b9daa1658b6de6e82878ca4c9b (patch)
treec58569a165721c6e60aad9c1ed9fcf8f8525b6b0 /src/lib/checkout/components/Checkout.jsx
parent1475593324319d1faf377f2d00a22a4b3caa3faa (diff)
parentcf42512eb11b1a96c99ced8d1f867aeb8c2dcbc1 (diff)
Merge branch 'release' into CR/product_detail
Diffstat (limited to 'src/lib/checkout/components/Checkout.jsx')
-rw-r--r--src/lib/checkout/components/Checkout.jsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index f63ef457..4c7e852f 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