Skip to content

Commit

Permalink
Fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tsck committed Nov 27, 2024
1 parent 5e76cf4 commit e2994ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/core/src/Chart/hooks/useChart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function useChart({
window.removeEventListener('resize', resizeHandler);
chartInstance.dispose();
};
}, [chartOptions, onChartReady, onZoom]);
}, [chartOptions, onChartReady, onZoomSelect, zoomable]);

const updateChartRef = useMemo(
() =>
Expand Down

0 comments on commit e2994ec

Please sign in to comment.