Fix ContactDetailScreen missing key on visits dropdown
This commit is contained in:
parent
ce52471941
commit
d418f1312f
1 changed files with 5 additions and 1 deletions
|
|
@ -552,7 +552,11 @@ class ContactDetailsScreen extends React.Component {
|
|||
}}>
|
||||
{this.state.visits.map((item, index) => {
|
||||
return (
|
||||
<Picker.Item label={item.title} value={index} />
|
||||
<Picker.Item
|
||||
label={item.title}
|
||||
value={index}
|
||||
key={index}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</Picker>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue