mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
refactor(editor): remove block models global type (#10086)
This commit is contained in:
@@ -96,7 +96,7 @@ export function addNote(
|
||||
const doc = std.store;
|
||||
|
||||
const blockId = doc.addBlock(
|
||||
options.childFlavour as BlockSuite.Flavour,
|
||||
options.childFlavour,
|
||||
{ type: options.childType },
|
||||
noteId
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user