fix all eslint warnings

This commit is contained in:
Tom
2023-04-25 21:30:10 +02:00
parent 323ec1e6c0
commit 610ea65c67
14 changed files with 144 additions and 83 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
if (index !== undefined) {
setPendingCommentIndex(index);
}
}, [index, location]);
}, [index, location, setPendingCommentIndex]);
const resetFields = () => {
@@ -116,7 +116,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
closeModal();
})();
}
}, [publishCommentOptions]);
}, [publishCommentOptions, closeModal, publishComment]);
const getChallengeAnswersFromUser = async (challenges) => {