mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 07:51:45 +03:00
fix: i18n default value
This commit is contained in:
parent
c5360daa66
commit
950e6bce45
@ -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 => (
|
||||||
|
Loading…
Reference in New Issue
Block a user