summaryrefslogtreecommitdiff
path: root/src-migrate/modules/register/components/RegistrasiIndividu.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/modules/register/components/RegistrasiIndividu.tsx')
-rw-r--r--src-migrate/modules/register/components/RegistrasiIndividu.tsx7
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}
/>
</>
);