Skip to content

Commit 720902b

Browse files
committed
fix: update decimal places for 0 rewards
1 parent 6da17ad commit 720902b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/namadillo/src/App/Masp/ShieldedFungibleTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const ShieldedFungibleTable = ({
7878
symbol={namadaAsset().symbol}
7979
amount={reward}
8080
className="text-yellow"
81-
decimalPlaces={3}
81+
decimalPlaces={reward.isZero() ? 0 : 3}
8282
/>
8383
: <SkeletonLoading
8484
width="120px"

0 commit comments

Comments
 (0)