Skip to content

Commit

Permalink
normalize rewards
Browse files Browse the repository at this point in the history
  • Loading branch information
aashaykapoor committed Oct 7, 2024
1 parent 1208ef3 commit b54423f
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,13 @@ function BlocksTable({
className="w-full"
href={`/block/${row.node.header.height}/simple`}
>
<div className="sm:flex font-mono text-sm text-gray-contrast w-[1] flex justify-start pl-4 whitespace-nowrap">
<div className="sm:flex font-mono text-sm text-gray-contrast flex justify-start pl-4 whitespace-nowrap">
{mintTransaction
? `${mintTransaction.mintAmount / 10 ** 9} ETH`
? `${
mintTransaction.mintAmount > 0
? (mintTransaction.mintAmount / 10 ** 9).toFixed(9)
: 0
} ETH`
: 'No mint amount'}{' '}
</div>
</Link>
Expand Down

0 comments on commit b54423f

Please sign in to comment.