removed eslint exception

master
Tudor Stanciu 2023-04-17 03:58:56 +03:00
parent 27be2a2844
commit 63c7d946e9
1 changed files with 1 additions and 2 deletions

View File

@ -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]);