diff --git a/src/components/TrainingContent/ExerciseWalkthrough.tsx b/src/components/TrainingContent/ExerciseWalkthrough.tsx index 16026f91..0fe23718 100644 --- a/src/components/TrainingContent/ExerciseWalkthrough.tsx +++ b/src/components/TrainingContent/ExerciseWalkthrough.tsx @@ -34,6 +34,7 @@ const ExerciseWalkthrough: React.FC = (tip: ITrainingTip) => { } return !prev; }); + // eslint-disable-next-line react-hooks/exhaustive-deps }, [currentTime]); const handleAnimationComplete = useCallback(() => { diff --git a/src/exams/Level/index.tsx b/src/exams/Level/index.tsx index 84874cac..cfd3c4fe 100644 --- a/src/exams/Level/index.tsx +++ b/src/exams/Level/index.tsx @@ -382,6 +382,7 @@ export default function Level({ exam, showSolutions = false, onFinish, editing = setChangedPrompt(true); } } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [contextWordLines]); diff --git a/src/hooks/useUsers.tsx b/src/hooks/useUsers.tsx index c3c4f5cc..7b860637 100644 --- a/src/hooks/useUsers.tsx +++ b/src/hooks/useUsers.tsx @@ -34,7 +34,7 @@ export default function useUsers(props?: {type?: string; page?: number; size?: n }) .finally(() => setIsLoading(false)); }; - + // eslint-disable-next-line react-hooks/exhaustive-deps useEffect(getData, [props?.page, props?.size, props?.type, props?.orderBy, props?.direction]); return {users, total, isLoading, isError, reload: getData};