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