Skip to content

Commit e971f84

Browse files
bugfix for block in page 99db4a0cad2d4025880ecbc1f08a6abf
1 parent 7facad7 commit e971f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const groupBlockContent = (blockMap: BlockMapType): string[][] => {
1515

1616
Object.keys(blockMap).forEach(id => {
1717
blockMap[id].value.content?.forEach(blockId => {
18-
const blockType = blockMap[blockId]?.value.type;
18+
const blockType = blockMap[blockId]?.value?.type;
1919

2020
if (blockType && blockType !== lastType) {
2121
index++;

0 commit comments

Comments
 (0)