Use Loader on the entry page. Closes #102
This commit is contained in:
parent
3b18fb4f87
commit
863d90c8ee
@ -14,6 +14,7 @@ import { addMedia, removeMedia } from '../actions/media';
|
||||
import { selectEntry, getMedia } from '../reducers';
|
||||
import EntryEditor from '../components/EntryEditor/EntryEditor';
|
||||
import entryPageHOC from './editorialWorkflow/EntryPageHOC';
|
||||
import { Loader } from '../components/UI';
|
||||
|
||||
class EntryPage extends React.Component {
|
||||
static propTypes = {
|
||||
@ -82,7 +83,7 @@ class EntryPage extends React.Component {
|
||||
if (entryDraft == null
|
||||
|| entryDraft.get('entry') === undefined
|
||||
|| (entry && entry.get('isFetching'))) {
|
||||
return <div>Loading...</div>;
|
||||
return <Loader active>Loading entry...</Loader>;
|
||||
}
|
||||
return (
|
||||
<EntryEditor
|
||||
|
Loading…
x
Reference in New Issue
Block a user