Fixed warning when 2 items have the same name
This commit is contained in:
parent
980dfdbdf3
commit
23d9a614d2
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ export default class ProximoListScreen extends React.Component<Props, State> {
|
|||
<FlatList
|
||||
data={this.state.navData}
|
||||
extraData={this.state.navData}
|
||||
keyExtractor={(item) => item.name}
|
||||
keyExtractor={(item) => item.name + item.code}
|
||||
style={{minHeight: 300, width: '100%'}}
|
||||
renderItem={({item}) =>
|
||||
<ListItem
|
||||
|
|
Loading…
Reference in a new issue