From 500d5d582e87d386cd09ad885423b7e8e0a02c76 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Tue, 27 Jun 2017 21:51:19 +0700 Subject: [PATCH] Fix edit --- client/coral-embed-stream/src/components/Comment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/coral-embed-stream/src/components/Comment.js b/client/coral-embed-stream/src/components/Comment.js index 86149b178..2178e6c44 100644 --- a/client/coral-embed-stream/src/components/Comment.js +++ b/client/coral-embed-stream/src/components/Comment.js @@ -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) {