diff --git a/src/components/Chart.tsx b/src/components/Chart.tsx index 3e1fde61d..e61066590 100644 --- a/src/components/Chart.tsx +++ b/src/components/Chart.tsx @@ -35,7 +35,7 @@ const Chart = ({ } }; fetchGraphData(); - }, [id]); + }, [id, type]); if (!chartData) return (