diff --git a/packages/page-staking/src/index.tsx b/packages/page-staking/src/index.tsx index 186cac1dbb..03a047be78 100644 --- a/packages/page-staking/src/index.tsx +++ b/packages/page-staking/src/index.tsx @@ -37,7 +37,7 @@ const transformElection = { function StakingApp ({ basePath, className = '' }: Props): React.ReactElement { const { t } = useTranslation(); const { api } = useApi(); - const { hasAccounts } = useAccounts(); + const { areAccountsLoaded, hasAccounts } = useAccounts(); const { pathname } = useLocation(); const [withLedger, setWithLedger] = useState(false); const [favorites, toggleFavorite] = useFavorites(STORE_FAVS_BASE); @@ -103,9 +103,9 @@ function StakingApp ({ basePath, className = '' }: Props): React.ReactElement