mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 08:30:02 +00:00
Added missing key attribute to <option/>
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user