Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Commit

Permalink
Display multi-blocks in Toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
otoyo committed Sep 4, 2022
1 parent 41e8365 commit 7eaa261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/notion-block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ const Toggle = ({ block }) => (
))}
</summary>
<div>
{block.Toggle.Children.map((child: interfaces.Block) => <NotionBlock block={child} key={child.Id} />)}
<NotionBlocks blocks={block.Toggle.Children} />
</div>
</details>
)
Expand Down

0 comments on commit 7eaa261

Please sign in to comment.