chore: perferences route

This commit is contained in:
jialin
2026-06-02 15:18:00 +08:00
committed by jialin
parent c8771dd3b9
commit abd0d52fad
9 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -210,14 +210,14 @@ export const ExtraContent = (props: { isDarkTheme?: boolean }) => {
key: 'settings',
label: (
<span className="flex flex-center">
<IconFont type="icon-settings-02" />
<IconFont type="icon-preferences" />
<span className="m-l-8" style={{ marginLeft: 8 }}>
{intl?.formatMessage?.({ id: 'common.preferences' })}
</span>
</span>
),
onClick: () => {
history.push('/profile');
history.push('/preferences');
}
}
]
+1 -1
View File
@@ -357,7 +357,7 @@ export default (props: any) => {
config={{
apiBaseUrl: GPUSTACK_API_BASE_URL,
theme: userSettings.theme,
iconUrl: '',
iconUrl: '//at.alicdn.com/t/c/font_4613488_yo03vxgh67k.js',
isDarkTheme: userSettings.isDarkTheme,
defaultColorPrimary: COLOR_PRIMARY
}}
+1 -1
View File
@@ -256,7 +256,7 @@ export const getRightRenderContent = (opts: {
</span>
),
onClick: () => {
history.push('/profile');
history.push('/preferences');
}
},
{