mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 06:16:59 +08:00
chore: bump bs with new extension api (#8042)
This commit is contained in:
@@ -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);
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user