fix lint warnings

This commit is contained in:
Proddy
2023-04-22 10:05:13 +02:00
parent 19e8e4a7a1
commit 209afc87bb
19 changed files with 37 additions and 40 deletions

View File

@@ -31,7 +31,7 @@ const RestartMonitor: FC = () => {
});
useEffect(() => {
poll.current();
void poll.current();
}, []);
useEffect(() => () => timeoutId && clearTimeout(timeoutId), [timeoutId]);