Explorar el Código

Removed unnecessary comments

Taichi Masuyama hace 3 años
padre
commit
ad8a85db9f
Se han modificado 1 ficheros con 0 adiciones y 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) {
-    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.initializeTextlint(nextProps.isTextlintEnabled, nextProps.editorSettings);