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',
|
alignSelf: 'center',
|
||||||
},
|
},
|
||||||
rightIcon: {
|
rightIcon: {
|
||||||
color: '$iconColor',
|
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignSelf: 'center',
|
alignSelf: 'center',
|
||||||
},
|
},
|
||||||
|
@ -28,7 +28,7 @@ class CommentsView extends PureComponent {
|
|||||||
// Component Functions
|
// Component Functions
|
||||||
_handleOnDropdownSelect = () => {};
|
_handleOnDropdownSelect = () => {};
|
||||||
|
|
||||||
_keyExtractor = (item, index) => item.permlink;
|
_keyExtractor = item => item.permlink;
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
|
@ -35,7 +35,6 @@ const renderDropdownRow = (rowData, rowID, highlighted, rowTextStyle, noHighligh
|
|||||||
const DropdownButtonView = ({
|
const DropdownButtonView = ({
|
||||||
childIconWrapperStyle,
|
childIconWrapperStyle,
|
||||||
children,
|
children,
|
||||||
defaultIndex,
|
|
||||||
defaultText,
|
defaultText,
|
||||||
iconStyle,
|
iconStyle,
|
||||||
iconName,
|
iconName,
|
||||||
|
@ -29,6 +29,7 @@ class TagsView extends PureComponent {
|
|||||||
renderItem={({ item, index }) => (
|
renderItem={({ item, index }) => (
|
||||||
<Tag key={index} value={item} isPin={index === 0} onPress={handleOnTagPress} />
|
<Tag key={index} value={item} isPin={index === 0} onPress={handleOnTagPress} />
|
||||||
)}
|
)}
|
||||||
|
keyExtractor={item => item}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user