mirror of
https://github.com/wassname/talk.git
synced 2026-08-04 13:23:35 +08:00
Fix edit
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user