diff --git a/site/source/components/StackedBarChart.tsx b/site/source/components/StackedBarChart.tsx index 2cb646a8a..cfc72f08d 100755 --- a/site/source/components/StackedBarChart.tsx +++ b/site/source/components/StackedBarChart.tsx @@ -79,9 +79,7 @@ function simpleRoundedPer(values: Array, logScale: number) { const total = values.reduce(sum, 0) if (total === 0) { - return values.map(() => - {return 0} - ) + return values.map(() => 0) } // By default we are talking percentages, but this can be per-mille or more