chore: bump bs with new extension api (#8042)

This commit is contained in:
Saul-Mirone
2024-09-02 10:32:22 +00:00
parent 61e37d8873
commit 56f4634c1f
90 changed files with 1300 additions and 988 deletions

View File

@@ -1,4 +1,5 @@
import type { useI18n } from '@affine/i18n';
import type { DocMode } from '@blocksuite/blocks';
import { ImportIcon, PlusIcon } from '@blocksuite/icons/rc';
import type { usePageHelper } from '../components/blocksuite/block-suite-page-list/utils';
@@ -31,7 +32,7 @@ export function registerAffineCreationCommands({
run() {
track.$.cmdk.creation.createDoc({ mode: 'page' });
pageHelper.createPage('page');
pageHelper.createPage('page' as DocMode);
},
})
);