mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-14 17:33:30 +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)}>
|
<select onChange={(e) => this.handleSelection(e.target.value)}>
|
||||||
{views.map((item) => {
|
{views.map((item) => {
|
||||||
return (
|
return (
|
||||||
<option value={item.id}>
|
<option key={item.id} value={item.id}>
|
||||||
{item.title}
|
{item.title}
|
||||||
</option>
|
</option>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue