chore: bump blocksuite (#1298)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
Yifeng WangandHimself65 authored and GitHub committed 2023-03-04 04:17:06 +08:00
1 parent 50ff9b0c5c
commit 205092180b
14 files changed
+95 -95

No files matched your search

@@ -30,7 +30,7 @@ const WorkspaceDetail: React.FC = () => {
const [, rerender] = useState(false);
// fixme(himself65): this is a hack
useEffect(() => {
const dispose = currentWorkspace?.blockSuiteWorkspace.signals.pageAdded.on(
const dispose = currentWorkspace?.blockSuiteWorkspace.slots.pageAdded.on(
id => {
if (pageId === id) {
rerender(prev => !prev);
@@ -40,7 +40,7 @@ const WorkspaceDetail: React.FC = () => {
return () => {
dispose?.dispose();
};
}, [currentWorkspace?.blockSuiteWorkspace.signals.pageAdded, pageId]);
}, [currentWorkspace?.blockSuiteWorkspace.slots.pageAdded, pageId]);
useEffect(() => {
if (currentWorkspace) {
enableFullFlags(currentWorkspace.blockSuiteWorkspace);