summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components/CheckoutSection.jsx
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-05-31 21:39:53 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-05-31 21:39:53 +0700
commit77f976d3bd09d9e00d4d55bbd40579b439405d96 (patch)
treea8959bba3d8a51570c439789f92653409a0065ae /src/lib/checkout/components/CheckoutSection.jsx
parentca05a70e98e9066882de6394ffbd89db7af2cb9d (diff)
parent2a1dea70b8f0062fe8eebeb7139a7b77a24e220b (diff)
Merge branch 'new-release' of https://bitbucket.org/altafixco/next-indoteknik into biteship-merge
# Conflicts: # src/lib/checkout/components/Checkout.jsx # src/lib/transaction/components/Transaction.jsx
Diffstat (limited to 'src/lib/checkout/components/CheckoutSection.jsx')
-rw-r--r--src/lib/checkout/components/CheckoutSection.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/checkout/components/CheckoutSection.jsx b/src/lib/checkout/components/CheckoutSection.jsx
index c82e15c7..c6be9056 100644
--- a/src/lib/checkout/components/CheckoutSection.jsx
+++ b/src/lib/checkout/components/CheckoutSection.jsx
@@ -33,7 +33,7 @@ export const SectionAddress = ({ address, label, url }) => {
};
export const SectionValidation = ({ address }) =>
- address?.stateId == 0 && (
+ address?.stateId == 0 || address?.rajaongkirCityId == 0 && (
<BottomPopup active={true} title='Update Alamat'>
<div className='leading-7 text-gray_r-12/80'>
Mohon untuk memperbarui alamat Anda dengan mengklik tombol di bawah ini.{' '}