Skip to content

Commit 6f3500d

Browse files
committed
fix: no decimals on weekly sparkline
1 parent b64774f commit 6f3500d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/components/Package/WeeklyDownloadStats.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ function handleModalTransitioned() {
6060
}
6161
6262
const { fetchPackageDownloadEvolution } = useCharts()
63-
const numberFormatter = useNumberFormatter()
63+
const numberFormatter = useNumberFormatter({
64+
maximumFractionDigits: 0,
65+
})
6466
6567
const { accentColors, selectedAccentColor } = useAccentColor()
6668

0 commit comments

Comments
 (0)