mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 04:11:50 +03:00
Update editorContainer.js
This commit is contained in:
parent
7d14fc69b1
commit
5bdcb92e5d
@ -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 });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user