diff --git a/explorer/src/components/SupplyCard.tsx b/explorer/src/components/SupplyCard.tsx index 8d86a1bef6..93b6564bfd 100644 --- a/explorer/src/components/SupplyCard.tsx +++ b/explorer/src/components/SupplyCard.tsx @@ -11,7 +11,7 @@ export default function SupplyCard() { // Fetch supply on load React.useEffect(() => { - fetchSupply(); + if (supply === Status.Idle) fetchSupply(); }, []); // eslint-disable-line react-hooks/exhaustive-deps if (supply === Status.Disconnected) { diff --git a/explorer/src/components/TopAccountsCard.tsx b/explorer/src/components/TopAccountsCard.tsx index f83789b236..85a45ee5d5 100644 --- a/explorer/src/components/TopAccountsCard.tsx +++ b/explorer/src/components/TopAccountsCard.tsx @@ -13,7 +13,7 @@ export default function TopAccountsCard() { // Fetch on load React.useEffect(() => { - fetchRichList(); + if (richList === Status.Idle) fetchRichList(); }, []); // eslint-disable-line react-hooks/exhaustive-deps if (richList === Status.Disconnected) {