Skip to content

Commit

Permalink
#2725 linting
Browse files Browse the repository at this point in the history
  • Loading branch information
superhvarn committed Oct 2, 2024
1 parent c39d96a commit eed26d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const AdminToolsRecruitmentConfig: React.FC = () => {
};

fetchImages();
}, [currentImages || imageUrls]);
}, [imageUrls]);

Check warning on line 50 in src/frontend/src/pages/AdminToolsPage/RecruitmentConfig/AdminToolsRecruitmentConfig.tsx

View workflow job for this annotation

GitHub Actions / run-linting-check

React Hook useEffect has a missing dependency: 'currentImages'. Either include it or remove the dependency array

if (organizationIsLoading) return <LoadingIndicator />;
if (organizationIsError) return <ErrorPage message={organizationError.message} />;
Expand Down

0 comments on commit eed26d1

Please sign in to comment.