fix: suppress exhaustive-deps warnings in admin components
All checks were successful
Client CI/CD / test (push) Successful in 9s
Client CI/CD / deploy (push) Successful in 19s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-23 13:44:58 +09:00
parent 3dc1aad8ac
commit 60be6e1d39
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export default function DownloadAdmin() {
.finally(() => setLoading(false));
};
// eslint-disable-next-line react-hooks/set-state-in-effect -- initial data fetch on mount
// eslint-disable-next-line react-hooks/set-state-in-effect, react-hooks/exhaustive-deps -- initial data fetch on mount
useEffect(() => { load(); }, []);
if (loading) {

View File

@@ -30,7 +30,7 @@ export default function UserAdmin() {
})
.finally(() => setLoading(false));
};
// eslint-disable-next-line react-hooks/set-state-in-effect -- initial data fetch on mount
// eslint-disable-next-line react-hooks/set-state-in-effect, react-hooks/exhaustive-deps -- initial data fetch on mount
useEffect(() => { load(0); }, []);
const handleRoleToggle = async (u) => {