diff --git a/src/screens/editor/container/editorContainer.js b/src/screens/editor/container/editorContainer.js index ff7c80a72..3efd7ccbf 100644 --- a/src/screens/editor/container/editorContainer.js +++ b/src/screens/editor/container/editorContainer.js @@ -14,7 +14,7 @@ import { addDraft, updateDraft, getDrafts, - addSchedule + addSchedule, } from '../../../providers/ecency/ecency'; import { toastNotification, setRcOffer } from '../../../redux/actions/uiAction'; import { @@ -726,7 +726,6 @@ class EditorContainer extends Component { return; } - if (currentAccount) { this.setState({ isPostSending: true, diff --git a/src/utils/postParser.js b/src/utils/postParser.js index b9739ca81..2ec7c67a0 100644 --- a/src/utils/postParser.js +++ b/src/utils/postParser.js @@ -82,6 +82,9 @@ export const parseComments = async (comments) => { comment.markdownBody = get(comment, 'body'); comment.body = renderPostBody(comment, true, webp); + //stamp comments with fetched time; + comment.post_fetched_at = new Date().getTime(); + return comment; }); };