Skip to content

Commit a850fd4

Browse files
nightcitybladenightcityblade
andauthored
fix: remove fractional digits from top-list scores (#89)
Co-authored-by: nightcityblade <nightcityblade@gmail.com>
1 parent 22bca62 commit a850fd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/top-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function TopList({ userResults }: Props) {
7070
</div>
7171
<div className="text-right">
7272
<p className="text-sm font-semibold text-foreground">
73-
{(data.score ?? 0).toFixed(2)}
73+
{data.score ?? 0}
7474
</p>
7575
<p className="text-[11px] text-muted-foreground">
7676
{t("comparsion.score")}

0 commit comments

Comments
 (0)