Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdef1cafe committed Jul 25, 2022
2 parents 4e89a60 + 7b88b75 commit 1352c89
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ArrowDownIcon, ArrowUpIcon } from '@chakra-ui/icons'
import { Center, useToast } from '@chakra-ui/react'
import { toAssetId } from '@shapeshiftoss/caip'
import { YearnOpportunity } from '@shapeshiftoss/investor-yearn'
import { USDC_PRECISION } from 'constants/UsdcPrecision'
import { Overview } from 'features/defi/components/Overview/Overview'
import {
DefiAction,
Expand Down Expand Up @@ -103,7 +104,7 @@ export const YearnOverview = () => {
isLoaded: !descriptionQuery.isLoading,
isTrustedDescription: underlyingToken.isTrustedDescription,
}}
tvl={opportunity.tvl.balanceUsdc.toFixed(2)}
tvl={opportunity.tvl.balanceUsdc.div(`1e+${USDC_PRECISION}`).toString()}
apy={opportunity.apy.toString()}
menu={[
{
Expand Down

0 comments on commit 1352c89

Please sign in to comment.