@@ -103,7 +103,14 @@ class CommentEditor extends React.Component {
}
if (this.props.reEdit) {
- this.props.commentContainer.putComment();
+ this.props.commentContainer.putComment(
+ this.state.comment,
+ this.state.isMarkdown,
+ this.props.replyTo,
+ this.props.commentContainer.state.isSlackEnabled,
+ this.props.commentContainer.state.slackChannels,
+ this.props.currentComment,
+ );
this.props.commentContainer.postComment(
@@ -103,8 +103,8 @@ export default class CommentContainer extends Container {
/**
* Load data of comments and rerender <PageComments />
*/
- putComment() {
- console.log('ここはCommentContainer');
+ putComment(comment, isMarkdown, replyTo, isSlackEnabled, slackChannels, prevComment) {
+ console.log(prevComment);
deleteComment(comment) {