Skip to content

Commit 6bca27d

Browse files
authored
Fix decimals staked (#3813)
* set amount to fixed decimals * set amount to fixed decimals
1 parent 86dbbc5 commit 6bca27d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grant-explorer/src/features/round/ViewRoundPage/ProjectCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const StakedAmountCard = ({ totalStaked }: { totalStaked: number }) => {
171171
<div className="inline-flex flex-col justify-start items-start">
172172
<div className="self-stretch inline-flex justify-start items-center gap-1">
173173
<div className="justify-start text-text-primary text-sm font-medium font-mono leading-normal">
174-
{totalStaked}
174+
{totalStaked.toFixed(3)}
175175
</div>
176176
<div className="justify-start text-text-primary text-sm font-medium font-mono leading-normal">
177177
GTC

0 commit comments

Comments
 (0)