mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 19:31:54 +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,
|
||||
} = 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);
|
||||
}
|
||||
|
||||
return (
|
||||
<PostScreen
|
||||
|
Loading…
Reference in New Issue
Block a user