From 8e66f398bc71a213469c8a21c9106c10147b4d68 Mon Sep 17 00:00:00 2001 From: honorsuper Date: Mon, 16 Dec 2024 15:39:00 +0800 Subject: [PATCH] fix: content fix --- src/BlocksRenderer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BlocksRenderer.tsx b/src/BlocksRenderer.tsx index 8b46f49..d5b5274 100644 --- a/src/BlocksRenderer.tsx +++ b/src/BlocksRenderer.tsx @@ -222,7 +222,7 @@ const BlocksRenderer = (props: BlocksRendererProps) => { }} > {/* TODO use WeakMap instead of index as the key */} - {props.content.map((content, index) => ( + {props?.content?.map((content, index) => ( ))}