add switch corporate & fix table & fix policy
This commit is contained in:
@@ -17,8 +17,6 @@ import useAuth from '../../../hooks/useAuth';
|
||||
|
||||
type VerifyCodeFormProps = {
|
||||
emailOrPhone: string;
|
||||
setEmailOrPhoneForm: Function;
|
||||
setLoginOrVerifyCode: Function;
|
||||
};
|
||||
|
||||
type FormValuesProps = {
|
||||
@@ -39,11 +37,7 @@ type responseProps = {
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
||||
export default function VerifyCodeForm({
|
||||
emailOrPhone,
|
||||
setEmailOrPhoneForm,
|
||||
setLoginOrVerifyCode,
|
||||
}: VerifyCodeFormProps) {
|
||||
export default function VerifyCodeForm({ emailOrPhone }: VerifyCodeFormProps) {
|
||||
const navigate = useNavigate();
|
||||
const { validateOtp } = useAuth();
|
||||
const { enqueueSnackbar } = useSnackbar();
|
||||
|
||||
Reference in New Issue
Block a user