| @@ -211,7 +211,9 @@ const Paragraph = (paragraph: any) => { | |||
| return ( | |||
| <> | |||
| <ImageGallery srcs={[children_node[0].properties.src]} /> | |||
| <p>{paragraph.children.slice(1)}</p> | |||
| { | |||
| Array.isArray(paragraph.children) ? <p>{paragraph.children.slice(1)}</p> : null | |||
| } | |||
| </> | |||
| ) | |||
| } | |||