diff --git a/src/app/pages/AccountDetailsPage/index.tsx b/src/app/pages/AccountDetailsPage/index.tsx index dd28967a0a..36a22ae1ff 100644 --- a/src/app/pages/AccountDetailsPage/index.tsx +++ b/src/app/pages/AccountDetailsPage/index.tsx @@ -23,8 +23,8 @@ export const AccountDetailsPage: FC = () => { const scope = useRequiredScopeParam() const address = useLoaderData() as string - const { account, isLoading, isError } = useAccount(scope, address) - const { token } = useTokenInfo(scope, address) + const { account, isLoading: isAcccountLoading, isError } = useAccount(scope, address) + const { token, isLoading: isTokenLoading } = useTokenInfo(scope, address) const { totalCount: numberOfTokenTransfers } = useAccountTokenTransfers(scope, address) const tokenPriceInfo = useTokenPrice(account?.ticker || Ticker.ROSE) @@ -40,6 +40,7 @@ export const AccountDetailsPage: FC = () => { const codeLink = useHref(`code#${contractCodeContainerId}`) const showDetails = showTxs || showErc20 + const isLoading = isAcccountLoading || isTokenLoading return (