Explorar o código

FB remove props

itizawa %!s(int64=6) %!d(string=hai) anos
pai
achega
ec98632d6f

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

@@ -269,7 +269,6 @@ class Comment extends React.Component {
             commentBody={comment.comment}
             commentBody={comment.comment}
             replyTo={undefined}
             replyTo={undefined}
             commentButtonClickedHandler={this.commentButtonClickedHandler}
             commentButtonClickedHandler={this.commentButtonClickedHandler}
-            creatorId={creator._id}
           />
           />
         ) : (
         ) : (
           <div className={rootClassName}>
           <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.comment,
           this.state.isMarkdown,
           this.state.isMarkdown,
           this.props.currentCommentId,
           this.props.currentCommentId,
-          this.props.creatorId,
         );
         );
       }
       }
       else {
       else {
@@ -336,7 +335,6 @@ CommentEditor.propTypes = {
   replyTo: PropTypes.string,
   replyTo: PropTypes.string,
   currentCommentId: PropTypes.string,
   currentCommentId: PropTypes.string,
   commentBody: PropTypes.string,
   commentBody: PropTypes.string,
-  creatorId: PropTypes.string,
   commentButtonClickedHandler: PropTypes.func.isRequired,
   commentButtonClickedHandler: PropTypes.func.isRequired,
 };
 };