Skip to content

Commit 8e66f39

Browse files
committed
fix: content fix
1 parent 032e256 commit 8e66f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/BlocksRenderer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const BlocksRenderer = (props: BlocksRendererProps) => {
222222
}}
223223
>
224224
{/* TODO use WeakMap instead of index as the key */}
225-
{props.content.map((content, index) => (
225+
{props?.content?.map((content, index) => (
226226
<Block content={content} key={index} />
227227
))}
228228
</ComponentsProvider>

0 commit comments

Comments
 (0)