Skip to content

Commit

Permalink
fix: fix bob total value excosystem stats
Browse files Browse the repository at this point in the history
  • Loading branch information
rick23p authored and tiltom committed Sep 6, 2024
1 parent b77f3fa commit 778ba40
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ export const EcosystemStatistics: FC = () => {
value:
selectedCurrency === USD ? (
<AmountRenderer
value={lockedData.total_usd.toString() || '0'}
value={totalValue}
suffix={selectedCurrency}
precision={getCurrencyPrecision(selectedCurrency)}
dataAttribute="ecosystem-statistics-total-value"
/>
) : (
<NativeTokenAmount
usdValue={lockedData.tvlStaking?.totalUsd}
usdValue={totalValue}
precision={getCurrencyPrecision(selectedCurrency)}
dataAttribute="ecosystem-statistics-total-value"
/>
Expand Down Expand Up @@ -282,7 +282,6 @@ export const EcosystemStatistics: FC = () => {
];
}, [
chainId,
lockedData.total_usd,
lockedData.tvlAmm,
lockedData.tvlLending,
lockedData.tvlMynt,
Expand Down

0 comments on commit 778ba40

Please sign in to comment.