eslint: react-refresh, react-hooks

This commit is contained in:
Martti Malmi
2024-01-04 11:54:58 +02:00
parent b143520901
commit 2a2c713486
22 changed files with 62 additions and 27 deletions

View File

@ -25,7 +25,7 @@ function OnboardingLayout() {
<Icon name="translate" />
<select value={lang} onChange={e => setOverride(e.target.value)} className="capitalize">
{AllLanguageCodes.sort().map(a => (
<option value={a}>
<option key={a} value={a}>
{new Intl.DisplayNames([a], {
type: "language",
}).of(a)}