summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components/Checkout.jsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-10-22 14:24:31 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-10-22 14:24:31 +0700
commitdca7af433ca57e976b29620c58de98e94388e2b9 (patch)
tree7048b1b876159bdf394031ed1d1e38ed0d4feb7e /src/lib/checkout/components/Checkout.jsx
parentbaf62d2196ca0d168ab370c07feb5b2415dcf19b (diff)
<iman> CR variant beli langsung
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.{' '}