diff --git a/src/pages/settings/Profile/PersonalDetails/PhoneNumberPage.tsx b/src/pages/settings/Profile/PersonalDetails/PhoneNumberPage.tsx index 64d9f26d7516..1f2b80aa5f4e 100644 --- a/src/pages/settings/Profile/PersonalDetails/PhoneNumberPage.tsx +++ b/src/pages/settings/Profile/PersonalDetails/PhoneNumberPage.tsx @@ -31,7 +31,7 @@ function PhoneNumberPage() { const {translate} = useLocalize(); const {inputCallbackRef} = useAutoFocusInput(); const phoneNumber = privatePersonalDetails?.phoneNumber ?? ''; - + const validateLoginError = ErrorUtils.getEarliestErrorField(privatePersonalDetails, 'phoneNumber'); const currenPhoneNumber = privatePersonalDetails?.phoneNumber ?? '';