From f404f9801db1f234ae03ec9c9542ba5d4aa1bf46 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Mon, 23 Sep 2024 14:17:52 +0700
Subject: <iman> delete console.log

---
 src/lib/auth/components/SwitchAccount.jsx | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'src/lib/auth/components/SwitchAccount.jsx')

diff --git a/src/lib/auth/components/SwitchAccount.jsx b/src/lib/auth/components/SwitchAccount.jsx
index bc9dee36..e737ef6a 100644
--- a/src/lib/auth/components/SwitchAccount.jsx
+++ b/src/lib/auth/components/SwitchAccount.jsx
@@ -37,7 +37,6 @@ const SwitchAccount = () => {
   const [notValid, setNotValid] = useState(false);
   const { form, isCheckedTNC, isValidCaptcha, errors, validate, updateForm } =
     useRegisterStore();
-  console.log('form', form);
   const isFormValid = useMemo(() => Object.keys(errors).length === 0, [errors]);
   useEffect(() => {
     const loadProfile = async () => {
@@ -98,7 +97,6 @@ const SwitchAccount = () => {
       setIsPKP(false);
     }
   };
-  console.log('auth', auth);
   const onSubmitHandler = async (values) => {
     // let data = { ...form, id: `${auth.partnerId}` };
     const data = form;
@@ -111,9 +109,7 @@ const SwitchAccount = () => {
       setNotValid(false);
     }
     // if (!values.password) delete data.password;
-    console.log('data', data);
     const isUpdated = await switchAccountApi({ data });
-    console.log('isupdate', isUpdated);
 
     if (isUpdated?.switch === 'Pending') {
       // setAuth(isUpdated.user);
-- 
cgit v1.2.3

