lint warnings
This commit is contained in:
@@ -34,6 +34,7 @@ const ExerciseWalkthrough: React.FC<ITrainingTip> = (tip: ITrainingTip) => {
|
||||
}
|
||||
return !prev;
|
||||
});
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [currentTime]);
|
||||
|
||||
const handleAnimationComplete = useCallback(() => {
|
||||
|
||||
@@ -382,6 +382,7 @@ export default function Level({ exam, showSolutions = false, onFinish, editing =
|
||||
setChangedPrompt(true);
|
||||
}
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [contextWordLines]);
|
||||
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user