diff --git a/src/pages/DashboardPage/Summary.tsx b/src/pages/DashboardPage/Summary.tsx index 8c525af..24c1dc7 100644 --- a/src/pages/DashboardPage/Summary.tsx +++ b/src/pages/DashboardPage/Summary.tsx @@ -12,6 +12,7 @@ import Grid from '@mui/material/Unstable_Grid2'; import { useNetworkSummary } from '@api/subsquid-network-squid'; import { Card } from '@components/Card'; +import { Loader } from '@components/Loader'; import { useContracts } from '@network/useContracts'; export const WorkerColumnLabel = styled(Box, { @@ -172,17 +173,25 @@ function Stats() { } export function NetworkSummary() { + const { isLoading } = useNetworkSummary(); + return ( - - - - - - - - - - - + <> + {!isLoading ? ( + + + + + + + + + + + + ) : ( + + )} + ); }