We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6daac4 commit 57dff89Copy full SHA for 57dff89
1 file changed
src/Common/SegmentedBarChart/SegmentedBarChart.tsx
@@ -59,7 +59,9 @@ const SegmentedBarChart: React.FC<SegmentedBarChartProps> = ({
59
<div className="shimmer w-64 lh-1-5 h-24" />
60
) : (
61
<span className={countClassName} data-testid={`segmented-bar-chart-${label}-value`}>
62
- {isProportional && !hideTotal ? `${value}/${total}` : value}
+ {isProportional && !hideTotal
63
+ ? `${value.toLocaleString()}/${total.toLocaleString()}`
64
+ : value.toLocaleString()}
65
</span>
66
)
67
0 commit comments