From 3da0d5f55a0dc8b9c04cb271ea7d541c63c9e3a8 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 28 Aug 2024 11:57:18 +0700
Subject: <iman> update new register

---
 .../modules/register/components/RegistrasiIndividu.tsx    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

(limited to 'src-migrate/modules/register/components/RegistrasiIndividu.tsx')

diff --git a/src-migrate/modules/register/components/RegistrasiIndividu.tsx b/src-migrate/modules/register/components/RegistrasiIndividu.tsx
index b32f2f7b..5503db2a 100644
--- a/src-migrate/modules/register/components/RegistrasiIndividu.tsx
+++ b/src-migrate/modules/register/components/RegistrasiIndividu.tsx
@@ -1,5 +1,20 @@
 import Form from "./Form";
+import { useRegisterStore } from "../stores/useRegisterStore";
+import { useEffect } from "react";
 const RegistrasiIndividu = () => {
+  const {
+    form,
+    errors,
+    updateForm,
+    validate
+  } = useRegisterStore()
+
+  useEffect(() => {
+    updateForm("is_pkp", 'false');
+    updateForm("is_terdaftar", 'false');
+    updateForm("type_acc", 'individu');
+    validate();
+  }, []);
 
   return (
     <>
-- 
cgit v1.2.3

