diff --git a/packages/desktop-client/src/components/reports/graphs/StackedBarGraph.tsx b/packages/desktop-client/src/components/reports/graphs/StackedBarGraph.tsx index 2ba691be6e0..09e33fb36b9 100644 --- a/packages/desktop-client/src/components/reports/graphs/StackedBarGraph.tsx +++ b/packages/desktop-client/src/components/reports/graphs/StackedBarGraph.tsx @@ -165,15 +165,18 @@ function StackedBarGraph({ - {data.split.slice(0).reverse().map((c, index) => ( - getVal(val, c.name)} - name={c.name} - stackId="a" - fill={colorScale[index % colorScale.length]} - /> - ))} + {data.split + .slice(0) + .reverse() + .map((c, index) => ( + getVal(val, c.name)} + name={c.name} + stackId="a" + fill={colorScale[index % colorScale.length]} + /> + ))}