Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
otobongfp committed Mar 28, 2024
1 parent 41fcdfa commit 6534ba0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/overview/overviewTop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ const OverviewTop = () => {
setBurned(res.data.burned / 100000000);
setSupply(res.data.total / 100000000);

const apyData = await getApy();
setApy(apyData.toFixed(3) + "%");

// Fetch peer data
const peersResponse = await axios.get(`${EXT_URL2}/nodes/json`);
const peersData = peersResponse.data;
Expand Down Expand Up @@ -77,6 +74,9 @@ const OverviewTop = () => {
}
);

const apyData = await getApy();
setApy(apyData.toFixed(3) + "%");

const marketData = marketResponse.data;
setCoinPrice(marketData["lto-network"].usd);
setMarketCap(marketData["lto-network"].usd_market_cap);
Expand Down

0 comments on commit 6534ba0

Please sign in to comment.