address review comment

This commit is contained in:
Felix Ableitner 2022-02-18 18:56:34 +01:00
parent d73ab982bc
commit 1eb4f8dda2

View file

@ -524,9 +524,7 @@ export class Settings extends Component<any, SettingsState> {
{languages
.sort((a, b) => a.code.localeCompare(b.code))
.map(lang => (
<option value={lang.code}>
{getLanguages(lang.code)[0]}
</option>
<option value={lang.code}>{lang.name}</option>
))}
</select>
</div>