removed eslint exception
parent
27be2a2844
commit
63c7d946e9
|
@ -82,8 +82,7 @@ const WakeComponent = ({ machine, addLog, disabled }) => {
|
||||||
onError: () => {}
|
onError: () => {}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}, [machine, log, pingInterval]); // eslint-disable-line react-hooks/exhaustive-deps
|
}, [machine, log, pingInterval]);
|
||||||
// if "api" is added in pingInLoop dependencies, the useEffect is triggered in loop
|
|
||||||
|
|
||||||
useEffect(pingInLoop, [trigger, pingInLoop]);
|
useEffect(pingInLoop, [trigger, pingInLoop]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue