summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-18 14:39:16 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-18 14:39:16 +0700
commitb8b3b1df835d429920975e023d956b7c6ca33f43 (patch)
treed2488bf9c67d03ec5e9c686b17b0f994f3da6c77 /src/lib/checkout/components
parentab0782b5cf7b65930b0b40528b9205f3f0dfc3a0 (diff)
parentbaa9b1e32c0afabf074f6c181274312d757a7099 (diff)
Merge branch 'Feature/new-register' into Feature/switch-account
Diffstat (limited to 'src/lib/checkout/components')
-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 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