diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-18 14:39:16 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-18 14:39:16 +0700 |
| commit | b8b3b1df835d429920975e023d956b7c6ca33f43 (patch) | |
| tree | d2488bf9c67d03ec5e9c686b17b0f994f3da6c77 /src-migrate/modules/register/components/RegistrasiIndividu.tsx | |
| parent | ab0782b5cf7b65930b0b40528b9205f3f0dfc3a0 (diff) | |
| parent | baa9b1e32c0afabf074f6c181274312d757a7099 (diff) | |
Merge branch 'Feature/new-register' into Feature/switch-account
Diffstat (limited to 'src-migrate/modules/register/components/RegistrasiIndividu.tsx')
| -rw-r--r-- | src-migrate/modules/register/components/RegistrasiIndividu.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src-migrate/modules/register/components/RegistrasiIndividu.tsx b/src-migrate/modules/register/components/RegistrasiIndividu.tsx index 3997e767..84049065 100644 --- a/src-migrate/modules/register/components/RegistrasiIndividu.tsx +++ b/src-migrate/modules/register/components/RegistrasiIndividu.tsx @@ -3,8 +3,12 @@ import { useRegisterStore } from '../stores/useRegisterStore'; import { useEffect } from 'react'; interface FormProps { chekValid: boolean; + buttonSubmitClick: boolean; } -const RegistrasiIndividu: React.FC<FormProps> = ({ chekValid }) => { +const RegistrasiIndividu: React.FC<FormProps> = ({ + chekValid, + buttonSubmitClick, +}) => { const { form, errors, updateForm, validate } = useRegisterStore(); useEffect(() => { @@ -21,6 +25,7 @@ const RegistrasiIndividu: React.FC<FormProps> = ({ chekValid }) => { required={false} isBisnisRegist={false} chekValid={chekValid} + buttonSubmitClick={buttonSubmitClick} /> </> ); |
