fix: i18n default value

This commit is contained in:
lawvs 2022-09-05 17:22:14 +08:00
parent c5360daa66
commit 950e6bce45

View File

@ -49,7 +49,7 @@ export const SettingsList = () => {
{item.key === 'Language' ? ( {item.key === 'Language' ? (
<div style={{ marginLeft: '12em' }}> <div style={{ marginLeft: '12em' }}>
<Select <Select
defaultValue={options[0].value} defaultValue={i18n.language}
onChange={changeLanguage} onChange={changeLanguage}
> >
{options.map(option => ( {options.map(option => (