0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

fix KNOWN_LANGUAGES option child element (#5118)

This commit is contained in:
Antony R Mott 2022-10-19 02:48:00 -04:00 committed by GitHub
parent e78bb2f866
commit 9d4716f5ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ const LanguageSelect: FunctionComponent<{ lang: string }> = ({ lang }) => {
{Object.entries(KNOWN_LANGUAGES).map(([key, value]) => { {Object.entries(KNOWN_LANGUAGES).map(([key, value]) => {
return ( return (
<option value={value} key={value}> <option value={value} key={value}>
<span>{key}</span> {key}
</option> </option>
); );
})} })}