feat: add language switch in workspace modal

This commit is contained in:
JimmFly
2023-01-13 14:02:37 +08:00
parent 5df735db48
commit fd853a7b0c
2 changed files with 2 additions and 15 deletions
@@ -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();