Explorar o código

Removed unnecessary comments

Taichi Masuyama %!s(int64=3) %!d(string=hai) anos
pai
achega
ad8a85db9f
Modificáronse 1 ficheiros con 0 adicións e 10 borrados
  1. 0 10
      packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

+ 0 - 10
packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

@@ -201,16 +201,6 @@ class CodeMirrorEditor extends AbstractEditor {
   }
   }
 
 
   componentWillReceiveProps(nextProps) {
   componentWillReceiveProps(nextProps) {
-    const currentProps = this.props;
-    // Object.entries(currentProps).forEach(([k, v]) => {
-    //   if (v !== nextProps[k]) {
-    //     console.log(`違うっぴ! key: ${k}, currentProps[k]: ${currentProps[k]}, nextProps[k]: ${nextProps[k]}`);
-    //     if (typeof v === 'object') {
-    //       console.dir(v);
-    //       console.dir(nextProps[k]);
-    //     }
-    //   }
-    // });
     this.initializeEditorSettings(nextProps.editorSettings);
     this.initializeEditorSettings(nextProps.editorSettings);
 
 
     this.initializeTextlint(nextProps.isTextlintEnabled, nextProps.editorSettings);
     this.initializeTextlint(nextProps.isTextlintEnabled, nextProps.editorSettings);