mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 21:01:31 +03:00
Fixed flatlist key issue
This commit is contained in:
parent
54869a8a4a
commit
da7bc30eb4
@ -40,7 +40,6 @@ export default EStyleSheet.create({
|
||||
alignSelf: 'center',
|
||||
},
|
||||
rightIcon: {
|
||||
color: '$iconColor',
|
||||
justifyContent: 'center',
|
||||
alignSelf: 'center',
|
||||
},
|
||||
|
@ -28,7 +28,7 @@ class CommentsView extends PureComponent {
|
||||
// Component Functions
|
||||
_handleOnDropdownSelect = () => {};
|
||||
|
||||
_keyExtractor = (item, index) => item.permlink;
|
||||
_keyExtractor = item => item.permlink;
|
||||
|
||||
render() {
|
||||
const {
|
||||
|
@ -35,7 +35,6 @@ const renderDropdownRow = (rowData, rowID, highlighted, rowTextStyle, noHighligh
|
||||
const DropdownButtonView = ({
|
||||
childIconWrapperStyle,
|
||||
children,
|
||||
defaultIndex,
|
||||
defaultText,
|
||||
iconStyle,
|
||||
iconName,
|
||||
|
@ -29,6 +29,7 @@ class TagsView extends PureComponent {
|
||||
renderItem={({ item, index }) => (
|
||||
<Tag key={index} value={item} isPin={index === 0} onPress={handleOnTagPress} />
|
||||
)}
|
||||
keyExtractor={item => item}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user