{
- if (e.target.value !== "") {
+ if (e.target.value !== '') {
setInputValid({ ...inputValid, surname: true });
} else {
setInputValid({ ...inputValid, surname: false });
@@ -87,21 +88,21 @@ const Profile = () => {
{
- if (e.target.value !== "") {
+ if (e.target.value !== '') {
setInputValid({ ...inputValid, name: true });
} else {
setInputValid({ ...inputValid, name: false });
@@ -111,21 +112,21 @@ const Profile = () => {
{
- if (e.target.value !== "") {
+ if (e.target.value !== '') {
setInputValid({ ...inputValid, fathers: true });
} else {
setInputValid({ ...inputValid, fathers: false });
@@ -135,21 +136,21 @@ const Profile = () => {
{
- if (e.target.value !== "") {
+ if (e.target.value !== '') {
setInputValid({ ...inputValid, date: true });
} else {
setInputValid({ ...inputValid, date: false });
@@ -159,21 +160,21 @@ const Profile = () => {
{
- if (e.target.value !== "") {
+ if (e.target.value !== '') {
setInputValid({ ...inputValid, passport: true });
} else {
setInputValid({ ...inputValid, passport: false });
@@ -183,21 +184,21 @@ const Profile = () => {
{
- if (e.target.value !== "") {
+ if (e.target.value !== '') {
setInputValid({ ...inputValid, p_address: true });
} else {
setInputValid({ ...inputValid, p_address: false });
@@ -207,21 +208,21 @@ const Profile = () => {
{
- if (e.target.value !== "") {
+ if (e.target.value !== '') {
setInputValid({ ...inputValid, address: true });
} else {
setInputValid({ ...inputValid, address: false });
@@ -231,19 +232,19 @@ const Profile = () => {
{
if (ValidateEmail(e.target.value)) {
setInputValid({ ...inputValid, mail: true });
@@ -255,19 +256,19 @@ const Profile = () => {
{
if (ValidatePhoneNumber(e.target.value)) {
setInputValid({ ...inputValid, mobile: true });
@@ -279,19 +280,19 @@ const Profile = () => {
{
if (ValidatePhoneNumber(e.target.value)) {
setInputValid({ ...inputValid, home: true });