Skip to content

Commit

Permalink
fix deps
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <[email protected]>
  • Loading branch information
igorDykhta committed Jan 3, 2025
1 parent 5e4385c commit 894aa31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/src/common/range-plot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default function RangePlotFactory(
isChangingRef.current = true;
}
}
}, [plotType, bins]);
}, [bins, plotType, setFilterPlot]);

useEffect(() => {
if (isChangingRef.current) {
Expand All @@ -213,7 +213,7 @@ export default function RangePlotFactory(
isChangingRef.current = true;
}
}
}, [plotType, lineChart]);
}, [lineChart, plotType, setFilterPlot]);

const rangePlotStyle = useMemo(
() => ({
Expand Down

0 comments on commit 894aa31

Please sign in to comment.