mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-28 10:22:38 +03:00
Fixed flatlist key issue
This commit is contained in:
parent
1d1573f9f5
commit
0cb5fdd3ea
@ -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