diff options
Diffstat (limited to 'src/lib/auth/components')
| -rw-r--r-- | src/lib/auth/components/SwitchAccount.jsx | 4 |
1 files changed, 0 insertions, 4 deletions
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); |
