mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix: dock to blocksuite latest API (#2219)
This commit is contained in:
@@ -31,7 +31,7 @@ describe('currentWorkspace atom', () => {
|
||||
'test',
|
||||
WorkspaceFlavour.LOCAL
|
||||
);
|
||||
const page = workspace.createPage('page0');
|
||||
const page = workspace.createPage({ id: 'page0' });
|
||||
initPage(page);
|
||||
const frameId = page.getBlockByFlavour('affine:frame').at(0)
|
||||
?.id as string;
|
||||
|
||||
Reference in New Issue
Block a user