chore: bump version (#2279)

This commit is contained in:
Himself65
2023-05-09 14:35:49 +08:00
committed by GitHub
parent c41718e80d
commit be41c99602
11 changed files with 256 additions and 187 deletions
+5 -5
View File
@@ -19,11 +19,11 @@
"@affine/jotai": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/workspace": "workspace:*",
"@blocksuite/blocks": "0.0.0-20230508043859-34d0cc68-nightly",
"@blocksuite/editor": "0.0.0-20230508043859-34d0cc68-nightly",
"@blocksuite/global": "0.0.0-20230508043859-34d0cc68-nightly",
"@blocksuite/blocks": "0.0.0-20230509052644-b8b1b6a1-nightly",
"@blocksuite/editor": "0.0.0-20230509052644-b8b1b6a1-nightly",
"@blocksuite/global": "0.0.0-20230509052644-b8b1b6a1-nightly",
"@blocksuite/icons": "^2.1.15",
"@blocksuite/store": "0.0.0-20230508043859-34d0cc68-nightly",
"@blocksuite/store": "0.0.0-20230509052644-b8b1b6a1-nightly",
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
"@emotion/cache": "^11.11.0",
@@ -32,7 +32,7 @@
"@emotion/styled": "^11.11.0",
"@mui/material": "^5.12.3",
"@react-hookz/web": "^23.0.0",
"@sentry/nextjs": "^7.51.0",
"@sentry/nextjs": "^7.51.2",
"@toeverything/hooks": "workspace:*",
"cmdk": "^0.2.0",
"css-spring": "^4.1.0",
@@ -22,21 +22,21 @@ export function useReferenceLinkEffect(props?: {
}
);
const subpageLinkedDisposable = editor.slots.subpageLinked.on(
({ pageId }) => {
subpageLinked?.({ pageId });
}
);
const subpageUnlinkedDisposable = editor.slots.subpageUnlinked.on(
({ pageId }) => {
subpageUnlinked?.({ pageId });
}
);
// const subpageLinkedDisposable = editor.slots.subpageLinked.on(
// ({ pageId }) => {
// subpageLinked?.({ pageId });
// }
// );
// const subpageUnlinkedDisposable = editor.slots.subpageUnlinked.on(
// ({ pageId }) => {
// subpageUnlinked?.({ pageId });
// }
// );
return () => {
linkClickedDisposable.dispose();
subpageLinkedDisposable.dispose();
subpageUnlinkedDisposable.dispose();
// subpageLinkedDisposable.dispose();
// subpageUnlinkedDisposable.dispose();
};
}, [editor, pageLinkClicked, subpageLinked, subpageUnlinked]);
}