Skip to content
Snippets Groups Projects
Commit 428517c2 authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

fix dependency array

parent 743e29f2
No related branches found
No related tags found
2 merge requests!4941.5.1,!489Fix/design fixs
......@@ -79,7 +79,7 @@ const FluidChart: React.FC<FluidChartProps> = ({
return () => {
subscribed = false
}
}, [client, fluidStatus, selectedDate, currentTimeStep])
}, [client, fluidStatus, selectedDate, currentTimeStep, fluidType])
useEffect(() => {
if (!isMinuteBlocked && currentTimeStep === TimeStep.HALF_AN_HOUR) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment