diff --git a/src/v2/components/Validators/Table/index.jsx b/src/v2/components/Validators/Table/index.jsx index 07d2b1e1..8a10c221 100644 --- a/src/v2/components/Validators/Table/index.jsx +++ b/src/v2/components/Validators/Table/index.jsx @@ -21,6 +21,8 @@ import getUptime from 'v2/utils/getUptime'; import Avatar from 'v2/components/UI/Avatar'; import {LAMPORT_SOL_RATIO} from '../../../constants'; +import Socket from '../../../stores/socket'; +import Loader from '../../UI/Loader'; import useStyles from './styles'; const ValidatorsTable = ({separate}: {separate: boolean}) => { @@ -28,6 +30,16 @@ const ValidatorsTable = ({separate}: {separate: boolean}) => { const theme = useTheme(); const showTable = useMediaQuery(theme.breakpoints.up('md')); const {activeValidators, inactiveValidators} = NodesStore; + const {isLoading} = Socket; + + if (isLoading) { + return ( +