Skip to content

Commit

Permalink
Merge pull request #1 from raulriera/patch-1
Browse files Browse the repository at this point in the history
fix: resolves a formatting issue in the staking rewards
  • Loading branch information
alkinemk authored Oct 29, 2023
2 parents 21eacf9 + 37e859a commit 8d0efdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/LiteView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function Staking(props: Partial<Props>) {
STAKING REWARDS
</span>
<span className="orange-text text-3xl sm:text-3xl pt-3 md:text-4xl lg:text-7xl">
{Number(stakingResults?.[0]?.amount)}
{Number(stakingResults?.[0]?.amount ?? '0').toLocaleString()}
</span>
<span className="text-base sm:text-xl md:text-xl lg:text-3xl">
{" "}
Expand Down

0 comments on commit 8d0efdd

Please sign in to comment.