revert to fix hooks deps

This commit is contained in:
Tom
2023-04-26 14:24:08 +02:00
parent 6995684519
commit 649964f26b
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -207,7 +207,7 @@ const Board = () => {
setPendingCommentIndex(index);
navigate(`/profile/c/${index}`);
}
}, [index, navigate, setPendingCommentIndex]);
}, [index]);
const resetFields = () => {
@@ -248,7 +248,7 @@ const Board = () => {
resetFields();
})();
}
}, [publishCommentOptions, publishComment]);
}, [publishCommentOptions]);
const getChallengeAnswersFromUser = async (challenges) => {