Steven Fukase 4 лет назад
Родитель
Сommit
224386a32d
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      packages/app/src/components/PageEditor/Editor.jsx

+ 1 - 3
packages/app/src/components/PageEditor/Editor.jsx

@@ -9,7 +9,6 @@ import {
 
 
 import Dropzone from 'react-dropzone';
 import Dropzone from 'react-dropzone';
 
 
-import AppContainer from '~/client/services/AppContainer';
 import EditorContainer from '~/client/services/EditorContainer';
 import EditorContainer from '~/client/services/EditorContainer';
 import { withUnstatedContainers } from '../UnstatedUtils';
 import { withUnstatedContainers } from '../UnstatedUtils';
 
 
@@ -385,8 +384,7 @@ Editor.propTypes = Object.assign({
   emojiStrategy: PropTypes.object,
   emojiStrategy: PropTypes.object,
   onChange: PropTypes.func,
   onChange: PropTypes.func,
   onUpload: PropTypes.func,
   onUpload: PropTypes.func,
-  appContainer: PropTypes.instanceOf(AppContainer).isRequired,
   editorContainer: PropTypes.instanceOf(EditorContainer).isRequired,
   editorContainer: PropTypes.instanceOf(EditorContainer).isRequired,
 }, AbstractEditor.propTypes);
 }, AbstractEditor.propTypes);
 
 
-export default withUnstatedContainers(Editor, [AppContainer, EditorContainer]);
+export default withUnstatedContainers(Editor, [EditorContainer]);