WIP / FIx & no-unused-vars

This commit is contained in:
elforjani3
2020-05-25 19:31:42 +02:00
parent 18a032ffd1
commit d107e84285
95 changed files with 324 additions and 352 deletions

View File

@@ -1,5 +1,7 @@
import React, { useMemo, useCallback } from 'react';
import { connect } from 'react-redux';
import { FormattedMessage as T, useIntl } from 'react-intl';
import FinancialSheet from 'components/FinancialSheet';
import DataTable from 'components/DataTable';
import Money from 'components/Money';
@@ -9,7 +11,6 @@ import {
getFinancialSheetIndexByQuery,
} from 'store/financialStatement/financialStatements.selectors';
import withProfitLossDetail from './withProfitLoss';
import { FormattedMessage as T, useIntl } from 'react-intl';
function ProfitLossSheetTable({
@@ -103,7 +104,7 @@ function ProfitLossSheetTable({
width: 100,
})))
: [],
], [profitLossQuery.display_columns_type, profitLossColumns]);
], [profitLossQuery.display_columns_type, profitLossColumns,formatMessage]);
// Handle data table fetch data.
const handleFetchData = useCallback((...args) => {