diff --git a/apps/callcenter b/apps/callcenter index 33d2e4bd65c..5eb6ea499f3 160000 --- a/apps/callcenter +++ b/apps/callcenter @@ -1 +1 @@ -Subproject commit 33d2e4bd65c0ab0f911a0d75d3de931b82344f68 +Subproject commit 5eb6ea499f33f0b95a31a73f13178650d1fd906a diff --git a/apps/condo/domains/user/components/auth/SignInForm.tsx b/apps/condo/domains/user/components/auth/SignInForm.tsx index e73cc6613c2..3628f8d90d1 100644 --- a/apps/condo/domains/user/components/auth/SignInForm.tsx +++ b/apps/condo/domains/user/components/auth/SignInForm.tsx @@ -16,7 +16,7 @@ import { colors } from '@condo/domains/common/constants/style' import { runMutation } from '@condo/domains/common/utils/mutations.utils' import { isSafeUrl } from '@condo/domains/common/utils/url.utils' import { ResponsiveCol } from '@condo/domains/user/components/containers/ResponsiveCol' -import { WRONG_PASSWORD_ERROR, WRONG_PHONE_ERROR } from '@condo/domains/user/constants/errors' +import { WRONG_CREDENTIALS } from '@condo/domains/user/constants/errors' import { SIGNIN_BY_PHONE_AND_PASSWORD_MUTATION } from '@condo/domains/user/gql' import { AgreementText } from './AgreementText' @@ -58,12 +58,8 @@ export const SignInForm = (): React.ReactElement => { // TODO(DOMA-3293): remove this legacy error style and Useless error messages const ErrorToFormFieldMsgMapping = useMemo(() => { return { - [WRONG_PHONE_ERROR]: { - name: 'signinError', - errors: [PasswordOrPhoneMismatch], - }, - [WRONG_PASSWORD_ERROR]: { - name: 'signinError', + [WRONG_CREDENTIALS]: { + name: 'phone', errors: [PasswordOrPhoneMismatch], }, }