From d2484d0b8d4da37762393a00e77950e2fa336550 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Tue, 5 Sep 2023 12:22:58 -0700 Subject: [PATCH] fix(core): remove write version (#4202) --- packages/infra/src/blocksuite/index.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/packages/infra/src/blocksuite/index.ts b/packages/infra/src/blocksuite/index.ts index 3c537096c3..b5fa77b546 100644 --- a/packages/infra/src/blocksuite/index.ts +++ b/packages/infra/src/blocksuite/index.ts @@ -34,21 +34,6 @@ export async function buildShowcaseWorkspace( store: ReturnType; } ) { - const showcaseWorkspaceVersions = { - 'affine:code': 1, - 'affine:paragraph': 1, - 'affine:page': 2, - 'affine:list': 1, - 'affine:note': 1, - 'affine:divider': 1, - 'affine:image': 1, - 'affine:surface': 3, - 'affine:bookmark': 1, - 'affine:database': 2, - }; - workspace.doc - .getMap('meta') - .set('blockVersions', new YMap(Object.entries(showcaseWorkspaceVersions))); const prototypes = { tags: { options: [