Browse Source

clean code

Yuki Takei 2 years ago
parent
commit
ae19aa5a94
1 changed files with 0 additions and 2 deletions
  1. 0 2
      packages/editor/src/stores/codemirror-editor.ts

+ 0 - 2
packages/editor/src/stores/codemirror-editor.ts

@@ -45,8 +45,6 @@ export const useCodeMirrorEditorIsolated = (
 
 
   if (shouldUpdate) {
   if (shouldUpdate) {
     ref.current = newData;
     ref.current = newData;
-    // eslint-disable-next-line no-console
-    console.info('Initializing codemirror for main');
   }
   }
 
 
   return useSWRStatic(swrKey, shouldUpdate ? newData : undefined);
   return useSWRStatic(swrKey, shouldUpdate ? newData : undefined);