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

feat: Hide some unimplemented functions
This commit is contained in:
DarkSky 2023-02-02 14:41:27 +08:00 committed by GitHub
commit 6cc39171eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,9 @@ import {
StyledWorkspaceName,
StyledEmail,
} from './style';
import { DownloadIcon } from '@blocksuite/icons';
import { Button } from '@/ui/button';
import { Menu, MenuItem } from '@/ui/menu';
// import { DownloadIcon } from '@blocksuite/icons';
// import { Button } from '@/ui/button';
// import { Menu, MenuItem } from '@/ui/menu';
import { WorkspaceUnit } from '@affine/datacenter';
import { useTranslation, Trans } from '@affine/i18n';
import { WorkspaceUnitAvatar } from '@/components/workspace-avatar';
@ -58,8 +58,8 @@ export const SyncPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
</StyledEmail>
</Trans>
</div>
<StyledButtonContainer>
{/* TODO: will finish the feature next version */}
{/* <StyledButtonContainer>
<Menu
content={
<>
@ -88,7 +88,7 @@ export const SyncPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
{t('Download data', { CoreOrAll: '' })}
</Button>
</Menu>
</StyledButtonContainer>
</StyledButtonContainer> */}
</>
)}
</StyledPublishContent>