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:
parent
ad55e78f78
commit
d99e022ce5
@ -26,7 +26,6 @@ export function ActionsPie({
|
||||
|
||||
if (_data) {
|
||||
_data.sort((a, b) => b.aggregated_value - a.aggregated_value)
|
||||
|
||||
const colorList = getChartColors(color)
|
||||
|
||||
setData([
|
||||
|
Loading…
Reference in New Issue
Block a user