Skip to content

Commit b64774f

Browse files
committed
fix: no decimals
1 parent 15f2845 commit b64774f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/components/Chart/SplitSparkline.vue

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

0 commit comments

Comments
 (0)