keyextractor added for edge cases, avoids warning

This commit is contained in:
feruz 2020-01-14 13:44:34 +02:00
parent c210f87ff9
commit d4e9dd7af5

View File

@ -364,7 +364,7 @@ const PostsView = ({
}
return e;
}}
//keyExtractor={(content, i) => `${get(content, 'permlink', '')}${i.toString()}`}
keyExtractor={(content, i) => `key-${i.toString()}`}
onEndReached={() => _loadPosts()}
removeClippedSubviews
refreshing={refreshing}