Update editorContainer.js

This commit is contained in:
uğur erdal 2019-03-23 15:55:46 +03:00 committed by GitHub
parent 7d14fc69b1
commit 5bdcb92e5d

View File

@ -96,9 +96,6 @@ class EditorContainer extends Component {
tags: post.json_metadata.tags,
},
},
() => {
// this._getPurePost(post.author, post.permlink);
},
);
}
@ -133,21 +130,6 @@ class EditorContainer extends Component {
}
};
_getPurePost = (author, permlink) => {
getPurePost(author, permlink)
.then((result) => {
if (result) {
this.setState(prevState => ({
draftPost: {
...prevState.draftPost,
body: result.body,
},
}));
}
})
.catch(() => {});
};
_handleRoutingAction = (routingAction) => {
this.setState({ isCameraOrPickerOpen: true });