itizawa 6 tahun lalu
induk
melakukan
66314b3577

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

@@ -248,10 +248,6 @@ Comment.propTypes = {
   comment: PropTypes.object.isRequired,
   growiRenderer: PropTypes.object.isRequired,
   deleteBtnClicked: PropTypes.func.isRequired,
-  replyList: PropTypes.array,
-};
-Comment.defaultProps = {
-  replyList: [],
 };
 
 export default CommentWrapper;

+ 1 - 1
src/client/js/components/PageComment/ReplayComments.jsx

@@ -11,7 +11,7 @@ import Comment from './Comment';
 
 import { createSubscribedElement } from '../UnstatedUtils';
 
-class ReplayComments extends React.Component {
+class ReplayComments extends React.PureComponent {
 
   constructor() {
     super();