Update src/components/posts/view/postsView.js

Co-Authored-By: Mustafa Buyukcelebi <mustafa.buyukcel@gmail.com>
This commit is contained in:
uğur erdal 2019-11-11 21:59:41 +03:00 committed by GitHub
parent 7f9bd2359a
commit 0353b18f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,7 +367,7 @@ const PostsView = ({
) )
} }
keyExtractor={(content, i) => `${get(content, 'permlink', '')}${i.toString()}`} keyExtractor={(content, i) => `${get(content, 'permlink', '')}${i.toString()}`}
onEndReached={() => _loadPosts()} onEndReached={_loadPosts}
removeClippedSubviews removeClippedSubviews
refreshing={refreshing} refreshing={refreshing}
onRefresh={_handleOnRefreshPosts} onRefresh={_handleOnRefreshPosts}