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]);