fixed replymodal not closing

This commit is contained in:
plebbitor
2023-04-21 11:59:17 +02:00
parent 6aa27c3e1e
commit b94ad31e56
+1
View File
@@ -124,6 +124,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
(async () => { (async () => {
await publishComment(); await publishComment();
resetFields(); resetFields();
closeModal();
})(); })();
} }
}, [publishCommentOptions]); }, [publishCommentOptions]);