mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-14 06:23:31 +01:00
Added missing key attribute to <option/>
This commit is contained in:
parent
1525807d06
commit
4134919dde
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ export default class Toolbar extends React.Component {
|
|||
<select onChange={(e) => this.handleSelection(e.target.value)}>
|
||||
{views.map((item) => {
|
||||
return (
|
||||
<option value={item.id}>
|
||||
<option key={item.id} value={item.id}>
|
||||
{item.title}
|
||||
</option>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue