Skip to content

Commit

Permalink
💄Update rewards formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DonFungible committed Feb 25, 2025
1 parent 37be2f5 commit f7ed0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/delegations/[delegatorEvmAddr]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function OverviewCard({ delegatorAddr }: { delegatorAddr: Address }) {

<DataRow
title="Total Rewards Earned"
value={!rewards ? '-' : `${Number(rewards.accumulatedRewards).toFixed(2)} IP`}
value={!rewards ? '-' : `${parseFloat(Number(rewards.accumulatedRewards).toFixed(2)).toString()} IP`}
tooltipInfo="The total IP rewards earned from staking on validators"
/>
</section>
Expand Down

0 comments on commit f7ed0ff

Please sign in to comment.