chore: bump blocksuite version (#4862)

This commit is contained in:
Hongtao Lye
2023-11-08 15:12:48 +08:00
committed by GitHub
parent b7edaab387
commit 12c72e63b1
22 changed files with 263 additions and 242 deletions

View File

@@ -190,7 +190,7 @@ const ImagePreviewModalImpl = (
if (typeof blockId === 'string') {
const block = page.getBlockById(blockId) as ImageBlockModel;
assertExists(block);
const store = block.page.blobs;
const store = block.page.blob;
const url = store?.get(block.sourceId);
const img = await url;
if (!img) {
@@ -260,7 +260,7 @@ const ImagePreviewModalImpl = (
assertExists(page);
const block = page.getBlockById(blockId) as ImageBlockModel;
assertExists(block);
return props.workspace.blobs.get(block?.sourceId);
return props.workspace.blob.get(block?.sourceId);
},
suspense: true,
}