Skip to content

Commit 811945c

Browse files
committed
remove maximumFractionDigits in SplitSparkline and WeeklyDownloadStats
1 parent 8f79b84 commit 811945c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

app/components/Chart/SplitSparkline.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ const props = defineProps<{
3131
3232
const { locale } = useI18n()
3333
const colorMode = useColorMode()
34-
const numberFormatter = useNumberFormatter({
35-
maximumFractionDigits: 0,
36-
})
34+
const numberFormatter = useNumberFormatter()
3735
const resolvedMode = shallowRef<'light' | 'dark'>('light')
3836
const rootEl = shallowRef<HTMLElement | null>(null)
3937
const palette = getPalette('')

app/components/Package/WeeklyDownloadStats.vue

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

0 commit comments

Comments
 (0)