Skip to content

Commit 0df0160

Browse files
committed
fix: Update Leaderboard points decimal
1 -> 2
1 parent b481163 commit 0df0160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/src/layouts/leaderboard-layout/components/point-composition/PointComposition.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface PointCompositionProps {
1818

1919
const formatPoint = (point: string): string => {
2020
if (!point) return "-";
21-
const formattedPoint = numberToFormat(point, { decimals: 1, forceDecimals: true, truncateDecimals: true });
21+
const formattedPoint = numberToFormat(point, { decimals: 2, forceDecimals: true, truncateDecimals: true });
2222
return removeTrailingZeros(formattedPoint);
2323
};
2424

0 commit comments

Comments
 (0)