reiji-h vor 2 Jahren
Ursprung
Commit
2abd5bce15
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      packages/editor/src/components/CodeMirrorEditorMain.tsx

+ 2 - 2
packages/editor/src/components/CodeMirrorEditorMain.tsx

@@ -1,4 +1,4 @@
-useEffect } from 'react';
+import { useEffect } from 'react';
 
 import { type Extension } from '@codemirror/state';
 import { keymap, scrollPastEnd } from '@codemirror/view';
@@ -27,7 +27,7 @@ type Props = CodeMirrorEditorProps & {
 export const CodeMirrorEditorMain = (props: Props): JSX.Element => {
   const {
     user, pageId, initialValue,
-    onSave, onOpenEditor, onEditorsUpdated, ...otherProps
+    onSave, onEditorsUpdated, ...otherProps
   } = props;
 
   const { data: codeMirrorEditor } = useCodeMirrorEditorIsolated(GlobalCodeMirrorEditorKey.MAIN);