未验证 提交 d985994f 编写于 作者: P Peter Pan 提交者: GitHub

fix: stuck on loading page when components is empty (#999)

上级 5661a556
...@@ -71,7 +71,7 @@ const IndexPage: FunctionComponent = () => { ...@@ -71,7 +71,7 @@ const IndexPage: FunctionComponent = () => {
return ( return (
<CenterWrapper> <CenterWrapper>
{loading || components.length ? ( {loading ? (
<Loading> <Loading>
<HashLoader size="60px" color={primaryColor} /> <HashLoader size="60px" color={primaryColor} />
<span>{t('common:loading')}</span> <span>{t('common:loading')}</span>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册