Skip to content

Commit b4171b6

Browse files
fix: invalid i18n key for email error on RegisterView (#6617)
Co-authored-by: Otávio Stasiak <[email protected]>
1 parent 57796ea commit b4171b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/RegisterView/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const RegisterView = ({ navigation, route }: IProps) => {
3636
name: yup.string().required(`${I18n.t('Field_is_required', { field: I18n.t('Full_name') })}`),
3737
email: yup
3838
.string()
39-
.email(I18n.t('Email_must_be_valid'))
39+
.email(I18n.t('Email_must_be_a_valid_email'))
4040
.required(`${I18n.t('Field_is_required', { field: I18n.t('Email') })}`),
4141
username: yup.string().required(`${I18n.t('Field_is_required', { field: I18n.t('Username') })}`),
4242
password: yup.string().required(I18n.t('Field_is_required', { field: I18n.t('Password') })),

0 commit comments

Comments
 (0)