mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 19:46:32 +08:00
chore: bump version (#2279)
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user