2
0
Эх сурвалжийг харах

Removed unnecessary comments

Taichi Masuyama 3 жил өмнө
parent
commit
ad8a85db9f

+ 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);