Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: hide sync tab for web version (#966)

Peng Xiaob38fc8d7e595
diff --git a/apps/web/src/pages/workspace/[workspaceId]/setting.tsx b/apps/web/src/pages/workspace/[workspaceId]/setting.tsx
index 368634351a..598c5c0a5d 100644
--- a/apps/web/src/pages/workspace/[workspaceId]/setting.tsx
+++ b/apps/web/src/pages/workspace/[workspaceId]/setting.tsx
@@ -10,7 +10,6 @@ import {
GeneralPage,
MembersPage,
PublishPage,
- SyncPage,
ExportPage,
} from '@/components/workspace-setting';
import { SettingsIcon } from '@blocksuite/icons';
@@ -32,10 +31,11 @@ const useTabMap = () => {
name: t('General'),
panelRender: workspace => <GeneralPage workspace={workspace} />,
},
- {
- name: t('Sync'),
- panelRender: workspace => <SyncPage workspace={workspace} />,
- },
+ // TODO: add it back for desktop version
+ // {
+ // name: t('Sync'),
+ // panelRender: workspace => <SyncPage workspace={workspace} />,
+ // },
{
name: t('Collaboration'),
panelRender: workspace => <MembersPage workspace={workspace} />,