fix: build error
This commit is contained in:
@@ -26,7 +26,7 @@ export const usePropsUpdated: UsePropsUpdated = () => {
|
|||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
callbackQueue.current = [];
|
callbackQueue.current = [];
|
||||||
editor?.model?.propsUpdated?.dispose();
|
editor?.pageBlockModel?.propsUpdated?.dispose();
|
||||||
};
|
};
|
||||||
}, [editor]);
|
}, [editor]);
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
"typescript": "^4.8.4"
|
"typescript": "^4.8.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blocksuite/blocks": "^0.3.1",
|
"@blocksuite/blocks": "=0.3.1-20230106060050-1aad55d",
|
||||||
"@blocksuite/store": "^0.3.1",
|
"@blocksuite/store": "=0.3.1-20230106060050-1aad55d",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"encoding": "^0.1.13",
|
"encoding": "^0.1.13",
|
||||||
"firebase": "^9.15.0",
|
"firebase": "^9.15.0",
|
||||||
|
|||||||
48
pnpm-lock.yaml
generated
48
pnpm-lock.yaml
generated
@@ -131,8 +131,8 @@ importers:
|
|||||||
|
|
||||||
packages/data-center:
|
packages/data-center:
|
||||||
specifiers:
|
specifiers:
|
||||||
'@blocksuite/blocks': ^0.3.1
|
'@blocksuite/blocks': '=0.3.1-20230106060050-1aad55d'
|
||||||
'@blocksuite/store': ^0.3.1
|
'@blocksuite/store': '=0.3.1-20230106060050-1aad55d'
|
||||||
'@playwright/test': ^1.29.1
|
'@playwright/test': ^1.29.1
|
||||||
'@types/debug': ^4.1.7
|
'@types/debug': ^4.1.7
|
||||||
debug: ^4.3.4
|
debug: ^4.3.4
|
||||||
@@ -148,8 +148,8 @@ importers:
|
|||||||
y-protocols: ^1.0.5
|
y-protocols: ^1.0.5
|
||||||
yjs: ^13.5.44
|
yjs: ^13.5.44
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/blocks': 0.3.1_yjs@13.5.44
|
'@blocksuite/blocks': 0.3.1-20230106060050-1aad55d_yjs@13.5.44
|
||||||
'@blocksuite/store': 0.3.1_yjs@13.5.44
|
'@blocksuite/store': 0.3.1-20230106060050-1aad55d_yjs@13.5.44
|
||||||
debug: 4.3.4
|
debug: 4.3.4
|
||||||
encoding: 0.1.13
|
encoding: 0.1.13
|
||||||
firebase: 9.15.0_encoding@0.1.13
|
firebase: 9.15.0_encoding@0.1.13
|
||||||
@@ -1516,25 +1516,6 @@ packages:
|
|||||||
- yjs
|
- yjs
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/blocks/0.3.1_yjs@13.5.44:
|
|
||||||
resolution: {integrity: sha512-b0dGz2MG4yIgngJPRumaMY58wAsd2FEVSZl3tpCXlagK9I0HD165Bq70PxcaRHVjBSV1Gf29ZVHUF6BVTYogPw==}
|
|
||||||
dependencies:
|
|
||||||
'@blocksuite/store': 0.3.1_yjs@13.5.44
|
|
||||||
'@tldraw/intersect': 1.8.0
|
|
||||||
autosize: 5.0.2
|
|
||||||
highlight.js: 11.7.0
|
|
||||||
hotkeys-js: 3.10.1
|
|
||||||
lit: 2.5.0
|
|
||||||
perfect-freehand: 1.2.0
|
|
||||||
quill: 1.3.7
|
|
||||||
quill-cursors: 4.0.0
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- bufferutil
|
|
||||||
- supports-color
|
|
||||||
- utf-8-validate
|
|
||||||
- yjs
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@blocksuite/editor/0.3.1-20230106060050-1aad55d_yjs@13.5.44:
|
/@blocksuite/editor/0.3.1-20230106060050-1aad55d_yjs@13.5.44:
|
||||||
resolution: {integrity: sha512-wSlAF9XVxIkHFJ1qCzn7oQ/gwXybFYMrzRl35UTJV509D+DuWZefRZWvpdIDCOUJ24uQscr1HxwsON11ltfWgA==}
|
resolution: {integrity: sha512-wSlAF9XVxIkHFJ1qCzn7oQ/gwXybFYMrzRl35UTJV509D+DuWZefRZWvpdIDCOUJ24uQscr1HxwsON11ltfWgA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -1589,27 +1570,6 @@ packages:
|
|||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/store/0.3.1_yjs@13.5.44:
|
|
||||||
resolution: {integrity: sha512-kynVTDfNCSChz2JI2rtGHxRIV2YrLzvAgVajcbfDVCuXKG0siBoEjLasG1a0kvevbvW/FabrNAj+xaIplklioA==}
|
|
||||||
peerDependencies:
|
|
||||||
yjs: ^13
|
|
||||||
dependencies:
|
|
||||||
'@types/flexsearch': 0.7.3
|
|
||||||
'@types/quill': 1.3.10
|
|
||||||
buffer: 6.0.3
|
|
||||||
flexsearch: 0.7.21
|
|
||||||
idb-keyval: 6.2.0
|
|
||||||
ky: 0.33.1
|
|
||||||
lib0: 0.2.58
|
|
||||||
y-protocols: 1.0.5
|
|
||||||
y-webrtc: 10.2.3
|
|
||||||
yjs: 13.5.44
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- bufferutil
|
|
||||||
- supports-color
|
|
||||||
- utf-8-validate
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@changesets/apply-release-plan/6.1.3:
|
/@changesets/apply-release-plan/6.1.3:
|
||||||
resolution: {integrity: sha512-ECDNeoc3nfeAe1jqJb5aFQX7CqzQhD2klXRez2JDb/aVpGUbX673HgKrnrgJRuQR/9f2TtLoYIzrGB9qwD77mg==}
|
resolution: {integrity: sha512-ECDNeoc3nfeAe1jqJb5aFQX7CqzQhD2klXRez2JDb/aVpGUbX673HgKrnrgJRuQR/9f2TtLoYIzrGB9qwD77mg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user