diff options
Diffstat (limited to 'app/src/Common/Loader.js')
-rw-r--r-- | app/src/Common/Loader.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/Common/Loader.js b/app/src/Common/Loader.js index d54580c..11af904 100644 --- a/app/src/Common/Loader.js +++ b/app/src/Common/Loader.js @@ -1,5 +1,5 @@ import PropTypes from 'prop-types' -import { useEffect, useMemo, useState } from 'react' +import { useEffect, useState } from 'react' import Modal from './Modal' import Spinner from './Spinner' @@ -37,7 +37,7 @@ function Loader(props) { }, [load]) if (state.loaded) { - return <>{children}</> + return children } else if (!state.delayed) { return null } |