mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 17:46:18 +08:00
Merge pull request #370 from toeverything/fix/i18n-select
Fix/i18n default value
This commit is contained in:
@@ -49,7 +49,7 @@ export const SettingsList = () => {
|
||||
{item.key === 'Language' ? (
|
||||
<div style={{ marginLeft: '12em' }}>
|
||||
<Select
|
||||
defaultValue={options[0].value}
|
||||
defaultValue={i18n.language}
|
||||
onChange={changeLanguage}
|
||||
>
|
||||
{options.map(option => (
|
||||
|
||||
@@ -32,4 +32,5 @@ const Container = styled(Clickable)({
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
padding: '6px 12px',
|
||||
whiteSpace: 'nowrap',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user