fix: Replace animated progress with loading text to save CPU

This commit is contained in:
tiddlygit-test 2020-08-14 23:10:51 +08:00
parent 23e85ad676
commit fbeac94c31

View file

@ -348,8 +348,7 @@ const Main = ({
)}
{Object.keys(workspaces).length > 0 && isLoading && (
<Typography type="body1" color="textSecondary">
size={24}
Loading... />
Loading..
</Typography>
)}
{Object.keys(workspaces).length < 1 && (