diff --git a/src/pages/judge/JudgeList.tsx b/src/pages/judge/JudgeList.tsx
index 018dc8361..2228a893d 100644
--- a/src/pages/judge/JudgeList.tsx
+++ b/src/pages/judge/JudgeList.tsx
@@ -7,8 +7,14 @@ import React, { useEffect } from "react";
const countPerPageSelections = [10, 25, 50];
const JudgeList: React.FC = () => {
- const { getJudgeList, refreshJudgeList, getPageCount, setPagenation } =
- useJudgeList();
+ const {
+ getJudgeList,
+ refreshJudgeList,
+ getPageCount,
+ setPagenation,
+ getSelfOnly,
+ setSelfOnly,
+ } = useJudgeList();
const { t } = useTranslation();
// useEvent();
const refreshSeconds = 5;
@@ -33,15 +39,19 @@ const JudgeList: React.FC = () => {
useEffect(() => {
setPagenation(countPerPage, page * countPerPage);
- // eslint-disable-next-line react-hooks/exhaustive-deps
- }, [countPerPage, page]);
+ }, [countPerPage, page, setPagenation]);
return (