feat(FinancialReports): add loading progress bar.

fix(preformance): Optimize preformance of virtualized list.
fix(preformance): Optimize financial reports preformance.
This commit is contained in:
a.bouhuolia
2021-03-16 17:27:27 +02:00
parent f1cf02c9df
commit 42230fe64b
73 changed files with 969 additions and 320 deletions

View File

@@ -1,13 +1,9 @@
import React, { useEffect } from 'react';
import { useIntl } from 'react-intl';
import React from 'react';
import { Link } from 'react-router-dom';
import { For } from 'components';
import DashboardInsider from 'components/Dashboard/DashboardInsider';
import financialReportMenus from 'config/financialReportsMenu';
import withDashboardActions from 'containers/Dashboard/withDashboardActions';
import { compose } from 'utils';
import 'style/pages/FinancialStatements/FinancialSheets.scss';
@@ -34,6 +30,9 @@ function FinancialReportsSection({ sectionTitle, reports }) {
);
}
/**
* Financial reports.
*/
export default function FinancialReports() {
return (
<DashboardInsider name={'financial-reports'}>