add effect dependencies per lint

This commit is contained in:
Chanwit Kaewkasi
2020-06-01 23:04:36 +07:00
parent 6ae0237782
commit 3c9c9edf5c
2 changed files with 2 additions and 2 deletions
@@ -73,7 +73,7 @@ const ClusterPage: FC<{}> = () => {
return () => clearInterval(interval);
}
return () => {};
}, [pollingLog]);
}, [pollingLog, api, loginInfo, params]);
return (
<Page theme={pageTheme.home}>
@@ -150,7 +150,7 @@ const ProfileCatalog: FC<{}> = () => {
return () => clearInterval(interval);
}
return () => {};
}, [pollingLog]);
}, [pollingLog, api, gitHubOrg, gitHubRepo, loginInfo]);
const showFailureMessage = (msg: string) => {
setRunStatus(