reiji-h 2 лет назад
Родитель
Сommit
bade341867

+ 1 - 1
packages/editor/src/components/CodeMirrorEditor/CodeMirrorEditor.tsx

@@ -54,7 +54,7 @@ export const CodeMirrorEditor = (props: Props): JSX.Element => {
 
   }, [codeMirrorEditor, indentSize]);
 
-  const { getRootProps, open } = useDropzoneEditor(onUpload);
+  const { getRootProps, open } = useDropzoneEditor({ onUpload });
 
   return (
     <div {...getRootProps()} className="flex-expand-vert">