Skip to content
Snippets Groups Projects
Commit 5385a063 authored by chris's avatar chris
Browse files

fix reply button

parent 31d239dd
No related branches found
No related tags found
1 merge request!190Find and replace
......@@ -56,13 +56,6 @@ export default ({ comment, top, commentId, recalculateTops }) => {
}
const onClickPost = content => {
// TODO find out why on enter comment posts twice.
if (
comment.attrs.conversation.length !== 0 &&
last(comment.attrs.conversation).content === content
)
return;
const { tr } = state;
const obj = {
......
......@@ -75,7 +75,6 @@ const CommentReply = props => {
const onBlur = content => {
onTextAreaBlur(content, isNewComment);
setCommentValue('');
};
return (
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment