From e2994ec293f5491b179f63c4f034df19c7516606 Mon Sep 17 00:00:00 2001 From: Terrence Keane Date: Wed, 27 Nov 2024 15:04:26 -0500 Subject: [PATCH] Fix deps --- charts/core/src/Chart/hooks/useChart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/core/src/Chart/hooks/useChart.ts b/charts/core/src/Chart/hooks/useChart.ts index b386dc8cdc..a63dee013e 100644 --- a/charts/core/src/Chart/hooks/useChart.ts +++ b/charts/core/src/Chart/hooks/useChart.ts @@ -129,7 +129,7 @@ export function useChart({ window.removeEventListener('resize', resizeHandler); chartInstance.dispose(); }; - }, [chartOptions, onChartReady, onZoom]); + }, [chartOptions, onChartReady, onZoomSelect, zoomable]); const updateChartRef = useMemo( () =>