mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-21 12:21:31 +03:00
removed comment out texts
This commit is contained in:
parent
81556e9396
commit
2af7835847
@ -189,10 +189,6 @@ class PostsView extends Component {
|
||||
if (_posts.length > 0) {
|
||||
if (posts.length > 0) {
|
||||
if (refreshing) {
|
||||
// TODO: make sure post is not duplicated, because checking with `includes` might re-add post
|
||||
// if there was change in post object from blockchain
|
||||
// newPosts = _posts.filter(post => posts.includes(post));
|
||||
// _posts = [...newPosts, ...posts];
|
||||
_posts = unionWith(_posts, posts, isEqual);
|
||||
} else {
|
||||
_posts.shift();
|
||||
|
Loading…
Reference in New Issue
Block a user