WIP Financial statements.

This commit is contained in:
Ahmed Bouhuolia
2020-04-05 17:49:44 +02:00
parent b09fc58042
commit b2d1a09612
21 changed files with 138 additions and 40 deletions

View File

@@ -27,7 +27,7 @@ export default function LoadingIndicator({
<div style={componentStyle}>{ children }</div>
), [children, componentStyle]);
const maybeRenderComponent = rendered && renderComponent;
const maybeRenderComponent = (rendered && children) && renderComponent;
const maybeRenderLoadingSpinner = loading && loadingComponent;
return (