mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
fix: dock to blocksuite latest API (#2219)
This commit is contained in:
@@ -52,7 +52,7 @@ const BroadcastPage: React.FC = () => {
|
||||
data-testid="create-page"
|
||||
onClick={() => {
|
||||
logger.info('create page');
|
||||
blockSuiteWorkspace.createPage(nanoid());
|
||||
blockSuiteWorkspace.createPage({ id: nanoid() });
|
||||
}}
|
||||
>
|
||||
Create Page
|
||||
|
||||
Reference in New Issue
Block a user