Merge pull request #768 from toeverything/feat/hide-feature

feat: Hide some unimplemented functions
This commit is contained in:
DarkSky authored and GitHub committed 2023-02-02 14:41:27 +08:00
commit 6cc39171eb
1 file changed
+6 -6
@@ -5,9 +5,9 @@ import {
StyledWorkspaceName, StyledWorkspaceName,
StyledEmail, StyledEmail,
} from './style'; } from './style';
import { DownloadIcon } from '@blocksuite/icons'; // import { DownloadIcon } from '@blocksuite/icons';
import { Button } from '@/ui/button'; // import { Button } from '@/ui/button';
import { Menu, MenuItem } from '@/ui/menu'; // import { Menu, MenuItem } from '@/ui/menu';
import { WorkspaceUnit } from '@affine/datacenter'; import { WorkspaceUnit } from '@affine/datacenter';
import { useTranslation, Trans } from '@affine/i18n'; import { useTranslation, Trans } from '@affine/i18n';
import { WorkspaceUnitAvatar } from '@/components/workspace-avatar'; import { WorkspaceUnitAvatar } from '@/components/workspace-avatar';
@@ -58,8 +58,8 @@ export const SyncPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
</StyledEmail> </StyledEmail>
</Trans> </Trans>
</div> </div>
{/* TODO: will finish the feature next version */}
<StyledButtonContainer> {/* <StyledButtonContainer>
<Menu <Menu
content={ content={
<> <>
@@ -88,7 +88,7 @@ export const SyncPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
{t('Download data', { CoreOrAll: '' })} {t('Download data', { CoreOrAll: '' })}
</Button> </Button>
</Menu> </Menu>
</StyledButtonContainer> </StyledButtonContainer> */}
</> </>
)} )}
</StyledPublishContent> </StyledPublishContent>