diff --git a/src/features/profile/components/userInformation/PhoneNumber.tsx b/src/features/profile/components/userInformation/PhoneNumber.tsx index 2ff5f75..aa8c505 100644 --- a/src/features/profile/components/userInformation/PhoneNumber.tsx +++ b/src/features/profile/components/userInformation/PhoneNumber.tsx @@ -174,6 +174,10 @@ export function PhoneNumber() { const handleBlur = () => { setTouched(true); if (!phoneNumber) { + toast({ + message: t('settingForm.phoneNumberIsInvalid'), + severity: 'error', + }); setFormError(t('settingForm.thisFieldIsRequired')); return; } diff --git a/src/features/profile/components/userInformation/phoneNumber/PhoneEditForm.tsx b/src/features/profile/components/userInformation/phoneNumber/PhoneEditForm.tsx index 2ecf6c1..4e20ab5 100644 --- a/src/features/profile/components/userInformation/phoneNumber/PhoneEditForm.tsx +++ b/src/features/profile/components/userInformation/phoneNumber/PhoneEditForm.tsx @@ -137,12 +137,6 @@ export default function PhoneEditForm({ } } }} - disabled={ - isSending || - buttonState === 'counting' || - phoneNumber.length === 0 || - !isValidPhoneNumber(phoneNumber) - } sx={{ whiteSpace: 'nowrap', color: 'primary.main',