From d99e022ce598bb0effdf4929838052d57816a2a6 Mon Sep 17 00:00:00 2001 From: kunal Date: Fri, 2 Apr 2021 07:46:08 -0700 Subject: [PATCH] check data exists in update code --- frontend/src/scenes/trends/viz/ActionsPie.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/scenes/trends/viz/ActionsPie.tsx b/frontend/src/scenes/trends/viz/ActionsPie.tsx index 3f4640ab26b..a1f5c1be95c 100644 --- a/frontend/src/scenes/trends/viz/ActionsPie.tsx +++ b/frontend/src/scenes/trends/viz/ActionsPie.tsx @@ -26,7 +26,6 @@ export function ActionsPie({ if (_data) { _data.sort((a, b) => b.aggregated_value - a.aggregated_value) - const colorList = getChartColors(color) setData([