From 863d90c8ee3684934b24595115a6f8e2456b7abf Mon Sep 17 00:00:00 2001 From: Andrey Okonetchnikov Date: Fri, 14 Oct 2016 13:42:58 +0200 Subject: [PATCH] Use Loader on the entry page. Closes #102 --- src/containers/EntryPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/containers/EntryPage.js b/src/containers/EntryPage.js index 05a583a7..9f366bd0 100644 --- a/src/containers/EntryPage.js +++ b/src/containers/EntryPage.js @@ -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
Loading...
; + return Loading entry...; } return (