fix: build error

This commit is contained in:
x1a0t
2023-01-06 16:07:15 +08:00
parent 274075d774
commit 49fdaf4a18
3 changed files with 7 additions and 47 deletions

View File

@@ -26,7 +26,7 @@ export const usePropsUpdated: UsePropsUpdated = () => {
return () => {
callbackQueue.current = [];
editor?.model?.propsUpdated?.dispose();
editor?.pageBlockModel?.propsUpdated?.dispose();
};
}, [editor]);

View File

@@ -26,8 +26,8 @@
"typescript": "^4.8.4"
},
"dependencies": {
"@blocksuite/blocks": "^0.3.1",
"@blocksuite/store": "^0.3.1",
"@blocksuite/blocks": "=0.3.1-20230106060050-1aad55d",
"@blocksuite/store": "=0.3.1-20230106060050-1aad55d",
"debug": "^4.3.4",
"encoding": "^0.1.13",
"firebase": "^9.15.0",