mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 11:51:52 +03:00
added check for main post
This commit is contained in:
parent
bef2af4ecf
commit
fa0c54e957
@ -96,8 +96,9 @@ class PostContainer extends Component {
|
|||||||
author,
|
author,
|
||||||
} = this.state;
|
} = this.state;
|
||||||
|
|
||||||
if (isHasParentPost && post)
|
if (isHasParentPost && post && get(post, 'parent_author') && get(post, 'parent_permlink')) {
|
||||||
this._loadPost(get(post, 'parent_author'), get(post, 'parent_permlink'), true);
|
this._loadPost(get(post, 'parent_author'), get(post, 'parent_permlink'), true);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PostScreen
|
<PostScreen
|
||||||
|
Loading…
Reference in New Issue
Block a user