mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
chore: bump blocksuite (#1298)
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
@@ -10,12 +10,12 @@
|
||||
"dependencies": {
|
||||
"@affine/debug": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@blocksuite/blocks": "0.5.0-20230302205056-4385b7a",
|
||||
"@blocksuite/editor": "0.5.0-20230302205056-4385b7a",
|
||||
"@blocksuite/global": "0.5.0-20230302205056-4385b7a",
|
||||
"@blocksuite/blocks": "0.5.0-20230303192351-13b0dd7",
|
||||
"@blocksuite/editor": "0.5.0-20230303192351-13b0dd7",
|
||||
"@blocksuite/global": "0.5.0-20230303192351-13b0dd7",
|
||||
"@blocksuite/icons": "2.0.17",
|
||||
"@blocksuite/react": "0.5.0-20230302205056-4385b7a",
|
||||
"@blocksuite/store": "0.5.0-20230302205056-4385b7a",
|
||||
"@blocksuite/react": "0.5.0-20230303192351-13b0dd7",
|
||||
"@blocksuite/store": "0.5.0-20230303192351-13b0dd7",
|
||||
"@emotion/react": "^11.10.6",
|
||||
"@emotion/styled": "^11.10.6",
|
||||
"@mui/base": "5.0.0-alpha.119",
|
||||
|
||||
@@ -39,7 +39,7 @@ As a pro tip, you can combine multiple providers! For example, feel free to open
|
||||
For any feedback, please visit [BlockSuite issues](https://github.com/toeverything/blocksuite/issues) 📍`;
|
||||
|
||||
const pagePromise = new Promise<Page>(resolve => {
|
||||
workspace.signals.pageAdded.once(pageId => {
|
||||
workspace.slots.pageAdded.once(pageId => {
|
||||
const page = workspace.getPage(pageId) as Page;
|
||||
pageOrPagePromise = page;
|
||||
resolve(page);
|
||||
|
||||
Reference in New Issue
Block a user