From bc2f98c23ca75a00244ff3e81a073107f671e377 Mon Sep 17 00:00:00 2001 From: Redouan Date: Tue, 9 May 2023 15:02:58 +0200 Subject: [PATCH] fix prettier --- site/source/components/StackedBarChart.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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