Skip to content

Commit 45505e7

Browse files
Merge pull request #348 from zgq354/fix-quote-children-missing
fix: missing sub-blocks in quote block
2 parents 7cfd015 + 2576783 commit 45505e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-notion-x/src/block.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,8 @@ export const Block: React.FC<BlockProps> = (props) => {
564564
blockId
565565
)}
566566
>
567-
<Text value={block.properties.title} block={block} />
567+
<div><Text value={block.properties.title} block={block} /></div>
568+
{children}
568569
</blockquote>
569570
)
570571
}

0 commit comments

Comments
 (0)