refactor(CashflowSheet): refactor the body sheet.

This commit is contained in:
a.bouhuolia
2022-02-10 11:45:27 +02:00
parent 1f81fd213d
commit d445fec8c0
7 changed files with 166 additions and 143 deletions

View File

@@ -1,12 +1,13 @@
import React from 'react';
import { Button } from '@blueprintjs/core';
import { Icon, If } from 'components';
import { FormattedMessage as T } from 'components';
import { dynamicColumns } from './utils';
import { useCashFlowStatementContext } from './CashFlowStatementProvider';
import FinancialLoadingBar from '../FinancialLoadingBar';
import { dynamicColumns } from './dynamicColumns';
import { useCashFlowStatementContext } from './CashFlowStatementProvider';
/**
* Retrieve cash flow statement columns.
*/
@@ -49,7 +50,6 @@ export function CashFlowStatementAlerts() {
if (isCashFlowLoading) {
return null;
}
return (
<If condition={cashFlowStatement.meta.is_cost_compute_running}>
<div className="alert-compute-running">