mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-28 01:52:56 +03:00
refine keyExtractor to avoid key duplication
This commit is contained in:
parent
9ebb960b0d
commit
4869ebfcdc
@ -172,7 +172,7 @@ const CommentsView = ({
|
||||
contentContainerStyle={{ padding: 0 }}
|
||||
data={comments}
|
||||
renderItem={_renderItem}
|
||||
keyExtractor={(item) => get(item, 'permlink')}
|
||||
keyExtractor={(item) => item.author + item.permlink}
|
||||
ListEmptyComponent={_renderEmptyContent()}
|
||||
ListHeaderComponent={postContentView}
|
||||
overScrollMode="never"
|
||||
|
Loading…
Reference in New Issue
Block a user