We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4934fbc + 8e66f39 commit 2e9c3c4Copy full SHA for 2e9c3c4
1 file changed
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