Add key to profiles map
This commit is contained in:
parent
10cd4dedce
commit
b9b8523eb0
1 changed files with 3 additions and 1 deletions
|
|
@ -33,7 +33,9 @@ const ProfileSelect = ({ profile, setProfile }) => {
|
||||||
<option value="custom">Custom</option>
|
<option value="custom">Custom</option>
|
||||||
<optgroup label="Locations">
|
<optgroup label="Locations">
|
||||||
{Object.keys(profiles).map((key) => (
|
{Object.keys(profiles).map((key) => (
|
||||||
<option value={key}>{profiles[key].name}</option>
|
<option value={key} key={key}>
|
||||||
|
{profiles[key].name}
|
||||||
|
</option>
|
||||||
))}
|
))}
|
||||||
</optgroup>
|
</optgroup>
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue