summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components/Checkout.jsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-10-24 11:38:50 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-10-24 11:38:50 +0700
commit1205b935f2a88629b6861ab083cbe70c58cb56c7 (patch)
tree298830d8204d366b872f5961e0edf1ab5c88c2e9 /src/lib/checkout/components/Checkout.jsx
parent7350eb1edcfb7e9776fec70849ee0c64a795eda3 (diff)
parent9abd621285d739a9c502d661013db5ce96edec33 (diff)
Merge branch 'CR/new_product_detail' into Feature/penawaran-instan
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.{' '}