This commit is contained in:
David Erwin
2016-11-11 11:16:19 -05:00
parent 0c998e1196
commit f6c295ca78
+2 -1
View File
@@ -44,7 +44,8 @@ class CommentBox extends Component {
appendItemArray(parent_id || id, related, comment_id, !parent_id, parent_type);
addNotification('success', 'Your comment has been posted.');
}
}).catch((err) => console.error(err));
})
.catch((err) => console.error(err));
this.setState({body: ''});
}