summaryrefslogtreecommitdiff
path: root/src/lib/pengajuan-tempo/component/KontakPerusahaan.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pengajuan-tempo/component/KontakPerusahaan.jsx')
-rw-r--r--src/lib/pengajuan-tempo/component/KontakPerusahaan.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/pengajuan-tempo/component/KontakPerusahaan.jsx b/src/lib/pengajuan-tempo/component/KontakPerusahaan.jsx
index 861a75ba..c09aaf57 100644
--- a/src/lib/pengajuan-tempo/component/KontakPerusahaan.jsx
+++ b/src/lib/pengajuan-tempo/component/KontakPerusahaan.jsx
@@ -86,6 +86,10 @@ const KontakPerusahaan = ({ chekValid, buttonSubmitClick }) => {
};
loadIndustries();
}, [buttonSubmitClick, chekValid]);
+
+ useEffect(() => {
+ validateKontakPerson();
+ }, [buttonSubmitClick]);
return (
<>
<div className='flex justify-start'>