mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 20:31:37 +03:00
Fixed multiple account feed issue
This commit is contained in:
parent
b15add64fe
commit
1d510a3741
@ -53,7 +53,7 @@ class PostsContainer extends PureComponent {
|
||||
return (
|
||||
<PostsView
|
||||
handleOnScrollStart={this._handleOnScrollStart}
|
||||
currentAccountUsername={currentAccount && currentAccount.username}
|
||||
currentAccountUsername={currentAccount && (currentAccount.username || currentAccount.name)}
|
||||
setFeedPosts={this._setFeedPosts}
|
||||
feedPosts={feedPosts}
|
||||
isConnected={isConnected}
|
||||
|
@ -22,7 +22,7 @@ class PostsView extends Component {
|
||||
super(props);
|
||||
|
||||
this.state = {
|
||||
posts: props.feedPosts,
|
||||
posts: props.isConnected ? [] : props.feedPosts,
|
||||
startAuthor: '',
|
||||
startPermlink: '',
|
||||
refreshing: false,
|
||||
|
Loading…
Reference in New Issue
Block a user