feat(FinancialSheet): add skeleton view.

This commit is contained in:
a.bouhuolia
2022-02-02 12:08:57 +02:00
parent b4f6d2c7f1
commit c72802d683
35 changed files with 426 additions and 320 deletions

View File

@@ -1,5 +1,6 @@
import React from 'react';
import { FinancialSheetSkeleton } from '../../../components/FinancialSheet';
import ProfitLossSheetTable from './ProfitLossSheetTable';
import { FinancialReportBody } from '../FinancialReportPage';
@@ -20,7 +21,7 @@ function ProfitLossBodyJSX({
return (
<FinancialReportBody>
{isLoading ? (
'loading'
<FinancialSheetSkeleton />
) : (
<ProfitLossSheetTable companyName={organizationName} />
)}