fix: 设置中有两个“代码风格”项 #373
This commit is contained in:
parent
e6c9cb60dc
commit
949a13b021
@ -238,21 +238,6 @@ const SettingsTab: FC<Props> = (props) => {
|
||||
/>
|
||||
</SettingRow>
|
||||
<SettingDivider />
|
||||
<SettingRow>
|
||||
<SettingRowTitleSmall>{t('message.message.code_style')}</SettingRowTitleSmall>
|
||||
<Select
|
||||
value={codeStyle}
|
||||
onChange={(value) => dispatch(setCodeStyle(value))}
|
||||
style={{ width: 135 }}
|
||||
size="small">
|
||||
{codeThemes.map((theme) => (
|
||||
<Select.Option key={theme} value={theme}>
|
||||
{theme}
|
||||
</Select.Option>
|
||||
))}
|
||||
</Select>
|
||||
</SettingRow>
|
||||
<SettingDivider />
|
||||
<SettingRow>
|
||||
<SettingRowTitleSmall>{t('message.message.style')}</SettingRowTitleSmall>
|
||||
<Select
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user