feat: update modal

This commit is contained in:
2025-06-17 11:56:31 +03:00
parent 39d4c3c362
commit 553e6da6db
25 changed files with 421 additions and 219 deletions

View File

@@ -6,8 +6,6 @@ import toast from 'react-hot-toast';
import { Controller, useForm } from 'react-hook-form';
import { zodResolver } from '@hookform/resolvers/zod';
import { z } from 'zod';
import man from '@public/images/footer-man.png';
import { sendFormFn } from '@shared/api/api.service';
import { isValidPhoneNumber } from 'libphonenumber-js/min';
@@ -39,8 +37,6 @@ export default function FooterForm() {
clearErrors,
formState: { errors },
} = useForm<TForm>({
mode: 'onSubmit',
reValidateMode: 'onBlur',
resolver: zodResolver(FormSchema),
defaultValues,
});