This commit is contained in:
Chi Vinh Le
2017-06-27 21:51:19 +07:00
parent 5b9fe5688f
commit 500d5d582e
@@ -196,8 +196,8 @@ export default class Comment extends React.Component {
editComment: React.PropTypes.func,
}
editComment = () => {
return this.props.editComment(this.props.comment.id, this.props.asset.id);
editComment = (...args) => {
return this.props.editComment(this.props.comment.id, this.props.asset.id, ...args);
}
onClickEdit (e) {