mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
fix: createPage error (#1668)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user