From 77f1af09dbc32e5fea89a4a69e62cd9968df9057 Mon Sep 17 00:00:00 2001 From: Atash3000 <31108020+Atash3000@users.noreply.github.com> Date: Thu, 9 Jan 2025 12:35:23 -0500 Subject: [PATCH] [add-deps] add deps (#1825) --- packages/chart/src/CdcChart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/chart/src/CdcChart.tsx b/packages/chart/src/CdcChart.tsx index c9a3802e4..ff38e099f 100644 --- a/packages/chart/src/CdcChart.tsx +++ b/packages/chart/src/CdcChart.tsx @@ -535,7 +535,7 @@ const CdcChart = ({ } load() - }, []) + }, [configObj?.data?.length ? configObj.data : null]) useEffect(() => { reloadURLData()