mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
fix: hide sync tab for web version (#966)
This commit is contained in:
@@ -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} />,
|
||||
|
||||
Reference in New Issue
Block a user