Merge branch 'feat/datacenter' into feat/datacenter-i18n

This commit is contained in:
JimmFly
2023-02-01 10:25:02 +08:00
10 changed files with 27 additions and 107 deletions
@@ -10,7 +10,6 @@ import {
GeneralPage,
MembersPage,
PublishPage,
ExportPage,
SyncPage,
} from '@/components/workspace-setting';
import { SettingsIcon } from '@blocksuite/icons';
@@ -43,11 +42,11 @@ const useTabMap = () => {
name: t('Publish'),
panelRender: workspace => <PublishPage workspace={workspace} />,
},
{
name: t('Export'),
panelRender: workspace => <ExportPage workspace={workspace} />,
},
// TODO: next version will finish this feature
// {
// name: t('Export'),
// panelRender: workspace => <ExportPage workspace={workspace} />,
// },
];
const [activeTab, setActiveTab] = useState<string>(tabMap[0].name);
const handleTabChange = (tab: string) => {