mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 20:31:37 +03:00
Fixed feed caching issue
This commit is contained in:
parent
e296ac891b
commit
8543fe5d95
@ -178,7 +178,10 @@ class PostsView extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
setFeedPosts(_posts);
|
||||
if (posts.length < 5) {
|
||||
setFeedPosts(_posts);
|
||||
}
|
||||
|
||||
if (refreshing && newPosts.length > 0) {
|
||||
this.setState({
|
||||
posts: _posts,
|
||||
|
Loading…
Reference in New Issue
Block a user