Moved EntryEditor to a separate directory

This commit is contained in:
Andrey Okonetchnikov 2016-09-29 19:02:28 +02:00
parent 9f33b160e7
commit 841772496a
3 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
import React, { PropTypes } from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ControlPane from './ControlPanel/ControlPane';
import PreviewPane from './PreviewPane';
import ControlPane from '../ControlPanel/ControlPane';
import PreviewPane from '../PreviewPane';
import styles from './EntryEditor.css';
export default function EntryEditor(props) {

View File

@ -11,7 +11,7 @@ import {
} from '../actions/entries';
import { addMedia, removeMedia } from '../actions/media';
import { selectEntry, getMedia } from '../reducers';
import EntryEditor from '../components/EntryEditor';
import EntryEditor from '../components/EntryEditor/EntryEditor';
import EntryPageHOC from './editorialWorkflow/EntryPageHOC';
class EntryPage extends React.Component {
@ -63,13 +63,13 @@ class EntryPage extends React.Component {
}
return (
<EntryEditor
entry={entryDraft.get('entry')}
getMedia={boundGetMedia}
collection={collection}
onChange={changeDraft}
onAddMedia={addMedia}
onRemoveMedia={removeMedia}
onPersist={this.handlePersistEntry}
entry={entryDraft.get('entry')}
getMedia={boundGetMedia}
collection={collection}
onChange={changeDraft}
onAddMedia={addMedia}
onRemoveMedia={removeMedia}
onPersist={this.handlePersistEntry}
/>
);
}