Commit 428517c2 authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

fix dependency array

parent 743e29f2
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment