From 33df2e4169154e57fb75272a69d796186da786c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Tue, 28 May 2024 14:33:37 +0200 Subject: [PATCH] remove animation from charts (just annoying) --- .../dashboard/src/components/report/chart/ReportAreaChart.tsx | 2 +- .../dashboard/src/components/report/chart/ReportLineChart.tsx | 4 ++-- apps/dashboard/src/components/report/chart/ReportPieChart.tsx | 2 +- apps/dashboard/src/components/report/funnel/Funnel.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/dashboard/src/components/report/chart/ReportAreaChart.tsx b/apps/dashboard/src/components/report/chart/ReportAreaChart.tsx index e89e35c5..bae2667c 100644 --- a/apps/dashboard/src/components/report/chart/ReportAreaChart.tsx +++ b/apps/dashboard/src/components/report/chart/ReportAreaChart.tsx @@ -89,7 +89,7 @@ export function ReportAreaChart({ {pieData.map((item) => { diff --git a/apps/dashboard/src/components/report/funnel/Funnel.tsx b/apps/dashboard/src/components/report/funnel/Funnel.tsx index 5a96ce8e..b683eb93 100644 --- a/apps/dashboard/src/components/report/funnel/Funnel.tsx +++ b/apps/dashboard/src/components/report/funnel/Funnel.tsx @@ -101,7 +101,7 @@ export function FunnelSteps({ ]} innerRadius={height / 3} outerRadius={height / 2 - 10} - isAnimationActive={true} + isAnimationActive={false} nameKey="label" dataKey="value" >