Added label to language selection (#1577)
This commit is contained in:
parent
e9c377b84a
commit
f49d312134
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ const LanguageSelect: FunctionalComponent<{ lang: string }> = ({ lang }) => {
|
|||
<select
|
||||
class="language-select"
|
||||
value={lang}
|
||||
aria-label="Select language"
|
||||
onChange={(e) => {
|
||||
const newLang = e.target.value;
|
||||
if (newLang === 'en') {
|
||||
|
|
Loading…
Reference in a new issue