Browse Source

clean code

kaori 3 years ago
parent
commit
bf83504360
1 changed files with 0 additions and 3 deletions
  1. 0 3
      packages/app/src/components/PageEditor/Editor.tsx

+ 0 - 3
packages/app/src/components/PageEditor/Editor.tsx

@@ -65,9 +65,6 @@ const Editor: ForwardRefRenderFunction<IEditorMethods, EditorPropsType> = (props
   const { data: isMobile } = useIsMobile();
 
   const dropzoneRef = useRef<DropzoneRef>(null);
-  // Need to typescriptize CodeMirrorEditor to set the generic type
-  // forwardRef should be typed.
-  // const cmEditorRef = useRef<any>(null);
   const cmEditorRef = useRef<AbstractEditor<any>>(null);