Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Fixed wrong chart color.

Mike Caoe1ad3b99cd24
diff --git a/src/components/charts/Chart.tsx b/src/components/charts/Chart.tsx
index ba49796eb..a01192e47 100644
--- a/src/components/charts/Chart.tsx
+++ b/src/components/charts/Chart.tsx
@@ -99,7 +99,7 @@ export function Chart({
updateChart(data);
}
}
- }, [data]);
+ }, [data, options]);
const handleLegendClick = (item: LegendItem) => {
if (type === 'bar') {