feat: bump blocksuite (#5286)

Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com>
This commit is contained in:
Yifeng Wang
2023-12-15 12:57:52 +08:00
committed by GitHub
parent 136b4ccb4e
commit af15aa06d4
37 changed files with 302 additions and 259 deletions
@@ -191,7 +191,7 @@ const ImagePreviewModalImpl = (
const block = page.getBlockById(blockId) as ImageBlockModel;
assertExists(block);
const store = block.page.blob;
const url = store?.get(block.sourceId);
const url = store?.get(block.sourceId as string);
const img = await url;
if (!img) {
return;
@@ -260,7 +260,7 @@ const ImagePreviewModalImpl = (
assertExists(page);
const block = page.getBlockById(blockId) as ImageBlockModel;
assertExists(block);
return props.workspace.blob.get(block?.sourceId);
return props.workspace.blob.get(block?.sourceId as string);
},
suspense: true,
}