Merge pull request #38 from bigcapitalhq/BIG-284-cash-flow-statement-loading-bar-not-working

BIG-284: cash flow statement loading bar.
This commit is contained in:
Ahmed Bouhuolia
2022-03-28 16:23:42 +02:00
committed by GitHub

View File

@@ -26,9 +26,9 @@ export const useCashFlowStatementColumns = () => {
* Cash flow statement loading bar. * Cash flow statement loading bar.
*/ */
export function CashFlowStatementLoadingBar() { export function CashFlowStatementLoadingBar() {
const { isCashFlowLoading } = useCashFlowStatementContext(); const { isCashFlowFetching } = useCashFlowStatementContext();
return ( return (
<If condition={isCashFlowLoading}> <If condition={isCashFlowFetching}>
<FinancialLoadingBar /> <FinancialLoadingBar />
</If> </If>
); );