Yuki Takei 6 lat temu
rodzic
commit
8a2f2627c4
1 zmienionych plików z 0 dodań i 5 usunięć
  1. 0 5
      src/client/js/components/PageComments.jsx

+ 0 - 5
src/client/js/components/PageComments.jsx

@@ -31,8 +31,6 @@ class PageComments extends React.Component {
     super(props);
 
     this.state = {
-      isLayoutTypeGrowi: false,
-
       // for deleting comment
       commentToDelete: undefined,
       isDeleteConfirmModalShown: false,
@@ -61,9 +59,6 @@ class PageComments extends React.Component {
       return;
     }
 
-    const layoutType = this.props.appContainer.getConfig().layoutType;
-    this.setState({ isLayoutTypeGrowi: layoutType === 'crowi-plus' || layoutType === 'growi' });
-
     this.props.commentContainer.retrieveComments();
   }