fix change label

This commit is contained in:
Francis Cao committed 2024-06-10 13:20:24 -07:00
1 parent 895398bebf
commit 1d9079f6ad
2 files changed
+7 -6

No files matched your search

@@ -62,7 +62,7 @@ export function WebsiteMetricsBar({
change:
(Math.min(visits.value, bounces.value) / visits.value) * 100 -
(Math.min(visits.prev, bounces.prev) / visits.prev) * 100,
formatValue: n => Number(n).toFixed(0) + '%',
formatValue: n => Math.round(+n) + '%',
reverseColors: true,
},
{