diff --git a/src/react-portable-text.tsx b/src/react-portable-text.tsx index 99a2eed..5529b5c 100644 --- a/src/react-portable-text.tsx +++ b/src/react-portable-text.tsx @@ -136,7 +136,7 @@ const getNodeRenderer = ( const children = node.children.map((child, childIndex) => renderNode({ node: child._key ? child : {...child, _key: `li-${index}-${childIndex}`}, - index: index, + index: childIndex, isInline: false, renderNode, })