Skip to content

Commit

Permalink
Merge pull request #108 from CudoVentures/cudos-dev
Browse files Browse the repository at this point in the history
Cudos dev to master for release
  • Loading branch information
maptuhec authored Oct 7, 2022
2 parents e7e0427 + ff07168 commit 276f33e
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions src/containers/ValidatorDetails/components/MyDelegations/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,21 +310,18 @@ const MyDelegations = () => {
2
)}
</Typography>
<Typography fontWeight={700} color="text.secondary">
CUDOS
</Typography>
</Stack>
<Typography variant="body2" fontWeight={700} color="primary.main">
$
{checkRewards.length
? calculateValue(
formatNumber(
formatBigNum(new BigNumber(checkRewards[0].amount)),
2
<Typography fontWeight={700} color="text.secondary">
CUDOS
</Typography>
</Stack>
<Typography variant="body2" fontWeight={700} color="primary.main">
$
{checkRewards[0].amount.length
? calculateValue(
formatBigNum(new BigNumber(checkRewards[0].amount))
)
)
: formatNumber(formatBigNum(new BigNumber(0)), 2)}
</Typography>
: formatNumber(formatBigNum(new BigNumber(0)), 2)}
</Typography>
</Box>
</Tooltip>
</Box>
Expand Down

0 comments on commit 276f33e

Please sign in to comment.