fix: add unique key to elements in map (#4607)

This commit is contained in:
Halí V 2022-09-06 07:49:51 -05:00 committed by GitHub
parent e6c80843f8
commit 6506e84ccf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>
);