summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components/Checkout.jsx
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-10-24 02:37:08 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-10-24 02:37:08 +0000
commite0aa9e04a473a4f7a21b389b42314d3fed06b43e (patch)
tree373a1f923f70777ce5f3abefa9980ff382b80d97 /src/lib/checkout/components/Checkout.jsx
parentbaf62d2196ca0d168ab370c07feb5b2415dcf19b (diff)
parentc8fef0308a258c27338b80a9b19e187fa68403ca (diff)
Merged in CR/beli-langsung (pull request #352)
CR/beli langsung Approved-by: trisusilo
Diffstat (limited to 'src/lib/checkout/components/Checkout.jsx')
-rw-r--r--src/lib/checkout/components/Checkout.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index a1b0116a..0e180d9c 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -67,7 +67,6 @@ const Checkout = () => {
const getAddresses = async () => {
const dataAddresses = await addressesApi();
- console.log('ini adalah adress',dataAddresses);
setAddresses(dataAddresses);
};
@@ -1665,7 +1664,7 @@ const SectionAddress = ({ address, label, url }) => (
);
const SectionValidation = ({ address }) =>
- address?.stateId == null && (
+ address?.stateId == 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.{' '}