mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
WIP feature/ Dashboard_breadcrumbs & fix_localize
This commit is contained in:
@@ -4,7 +4,6 @@ import { useFormik } from 'formik';
|
||||
import { FormattedMessage as T, useIntl } from 'react-intl';
|
||||
import { Link, useHistory } from 'react-router-dom';
|
||||
import { Button, InputGroup, Intent, FormGroup } from '@blueprintjs/core';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
import { compose } from 'utils';
|
||||
|
||||
@@ -21,9 +20,9 @@ function SendResetPassword({ requestSendResetPassword }) {
|
||||
|
||||
// Validation schema.
|
||||
const ValidationSchema = Yup.object().shape({
|
||||
crediential: Yup.string('')
|
||||
.required(formatMessage({ id: 'required' }))
|
||||
.email(formatMessage({ id: 'invalid_email_or_phone_numner' })),
|
||||
crediential: Yup.string()
|
||||
.required()
|
||||
.email().label(formatMessage({id:''})),
|
||||
});
|
||||
|
||||
const initialValues = useMemo(
|
||||
|
||||
Reference in New Issue
Block a user