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 }}
|
contentContainerStyle={{ padding: 0 }}
|
||||||
data={comments}
|
data={comments}
|
||||||
renderItem={_renderItem}
|
renderItem={_renderItem}
|
||||||
keyExtractor={(item) => get(item, 'permlink')}
|
keyExtractor={(item) => item.author + item.permlink}
|
||||||
ListEmptyComponent={_renderEmptyContent()}
|
ListEmptyComponent={_renderEmptyContent()}
|
||||||
ListHeaderComponent={postContentView}
|
ListHeaderComponent={postContentView}
|
||||||
overScrollMode="never"
|
overScrollMode="never"
|
||||||
|
Loading…
Reference in New Issue
Block a user