fix all missing deps except for bugged one

This commit is contained in:
Tom
2023-04-27 11:42:51 +02:00
parent 428b335cfc
commit 4e1575f5fc
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
if (index !== undefined) {
setPendingCommentIndex(index);
}
}, [index, location]);
}, [index, location, setPendingCommentIndex]);
const resetFields = () => {