We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 032e256 commit 8e66f39Copy full SHA for 8e66f39
src/BlocksRenderer.tsx
@@ -222,7 +222,7 @@ const BlocksRenderer = (props: BlocksRendererProps) => {
222
}}
223
>
224
{/* TODO use WeakMap instead of index as the key */}
225
- {props.content.map((content, index) => (
+ {props?.content?.map((content, index) => (
226
<Block content={content} key={index} />
227
))}
228
</ComponentsProvider>
0 commit comments