Образован хелпер Error, в который вынесены все коды ошибок.

Подкорректирован errorDict на фронте
This commit is contained in:
ErickSkrauch 2016-06-16 23:32:23 +03:00
parent 0fcc75a459
commit 187d4f12f4

View File

@ -63,7 +63,6 @@ const errorsMap = {
'error.newPassword_required': () => <Message {...messages.newPasswordRequired} />, 'error.newPassword_required': () => <Message {...messages.newPasswordRequired} />,
'error.newRePassword_required': () => <Message {...messages.newRePasswordRequired} />, 'error.newRePassword_required': () => <Message {...messages.newRePasswordRequired} />,
'error.newRePassword_does_not_match': () => <Message {...messages.passwordsDoesNotMatch} />,
'error.account_not_activated': () => <Message {...messages.accountNotActivated} />, 'error.account_not_activated': () => <Message {...messages.accountNotActivated} />,