add effect dependencies per lint
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user