0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00

check data exists in update code

This commit is contained in:
kunal 2021-04-02 07:46:08 -07:00
parent ad55e78f78
commit d99e022ce5

View File

@ -26,7 +26,6 @@ export function ActionsPie({
if (_data) { if (_data) {
_data.sort((a, b) => b.aggregated_value - a.aggregated_value) _data.sort((a, b) => b.aggregated_value - a.aggregated_value)
const colorList = getChartColors(color) const colorList = getChartColors(color)
setData([ setData([