fix: createPage error (#1668)

This commit is contained in:
Qi authored and GitHub committed 2023-03-23 18:01:58 +08:00
1 parent 6be94ca906
commit 4aea39fb94
2 files changed
+15 -1

No files matched your search

@@ -38,7 +38,7 @@ export const Footer: React.FC<FooterProps> = ({
onSelect={async () => {
onClose();
const id = nanoid();
const page = await createPage(id, query);
const page = await createPage(id);
assertEquals(page.id, id);
await jumpToPage(blockSuiteWorkspace.id, page.id);
if (!query) {