fix: build error

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

No files matched your search

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