fix: add unique key to elements in map (#4607)
This commit is contained in:
parent
e6c80843f8
commit
6506e84ccf
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ const LanguageSelect: FunctionComponent<{ lang: string }> = ({ lang }) => {
|
|||
>
|
||||
{Object.entries(KNOWN_LANGUAGES).map(([key, value]) => {
|
||||
return (
|
||||
<option value={value}>
|
||||
<option value={value} key={value}>
|
||||
<span>{key}</span>
|
||||
</option>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue