mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
WIP financial statements.
This commit is contained in:
@@ -4,9 +4,10 @@ import { Spinner } from '@blueprintjs/core';
|
||||
export default function LoadingIndicator({
|
||||
loading,
|
||||
spinnerSize = 40,
|
||||
children
|
||||
children,
|
||||
mount = true,
|
||||
}) {
|
||||
const [rendered, setRendered] = useState(false);
|
||||
const [rendered, setRendered] = useState(mount);
|
||||
|
||||
useEffect(() => {
|
||||
if (!loading) { setRendered(true); }
|
||||
|
||||
Reference in New Issue
Block a user