mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
feat: add language switch in workspace modal
This commit is contained in:
@@ -178,20 +178,6 @@ export const WorkSpaceSliderBar = () => {
|
||||
<TrashIcon /> {t('Trash')}
|
||||
</StyledListItem>
|
||||
</Link>
|
||||
<StyledListItem
|
||||
onClick={() => {
|
||||
changeLanguage('en');
|
||||
}}
|
||||
>
|
||||
<SettingsIcon /> change to English
|
||||
</StyledListItem>
|
||||
<StyledListItem
|
||||
onClick={() => {
|
||||
changeLanguage('zh-Hans');
|
||||
}}
|
||||
>
|
||||
<SettingsIcon /> 切换到中文
|
||||
</StyledListItem>
|
||||
<StyledNewPageButton
|
||||
onClick={async () => {
|
||||
const pageId = await createPage();
|
||||
|
||||
Reference in New Issue
Block a user