소스 검색

FB remove props

itizawa 6 년 전
부모
커밋
ec98632d6f
2개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 1
      src/client/js/components/PageComment/Comment.jsx
  2. 0 2
      src/client/js/components/PageComment/CommentEditor.jsx

+ 0 - 1
src/client/js/components/PageComment/Comment.jsx

@@ -269,7 +269,6 @@ class Comment extends React.Component {
             commentBody={comment.comment}
             replyTo={undefined}
             commentButtonClickedHandler={this.commentButtonClickedHandler}
-            creatorId={creator._id}
           />
         ) : (
           <div className={rootClassName}>

+ 0 - 2
src/client/js/components/PageComment/CommentEditor.jsx

@@ -115,7 +115,6 @@ class CommentEditor extends React.Component {
           this.state.comment,
           this.state.isMarkdown,
           this.props.currentCommentId,
-          this.props.creatorId,
         );
       }
       else {
@@ -336,7 +335,6 @@ CommentEditor.propTypes = {
   replyTo: PropTypes.string,
   currentCommentId: PropTypes.string,
   commentBody: PropTypes.string,
-  creatorId: PropTypes.string,
   commentButtonClickedHandler: PropTypes.func.isRequired,
 };