fix hotbugs.

This commit is contained in:
Ahmed Bouhuolia
2020-05-24 00:28:04 +02:00
parent 17c1b6ad51
commit c861b2bd07
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ function SendResetPassword({ requestSendResetPassword }) {
const ValidationSchema = Yup.object().shape({
crediential: Yup.string()
.required()
.email().label(formatMessage({id:''})),
.email().label(formatMessage({ id: 'email' })),
});
const initialValues = useMemo(

View File

@@ -125,7 +125,7 @@ function ProfitLossSheetTable({
return (
<FinancialSheet
companyName={companyName}
sheetType={'Profit/Loss Sheet'}
sheetType={<T id={'profit_loss_sheet'} />}
fromDate={profitLossQuery.from_date}
toDate={profitLossQuery.to_date}
name="profit-loss-sheet"