diff --git a/src/Body/index.tsx b/src/Body/index.tsx index f246959af..43fbeb3a0 100644 --- a/src/Body/index.tsx +++ b/src/Body/index.tsx @@ -45,7 +45,7 @@ function Body({ rows = data.map((record, index) => { const key = getRowKey(record, index); - return [ + return ( ({ getRowKey={getRowKey} rowExpandable={rowExpandable} childrenColumnName={childrenColumnName} - />, - ]; + /> + ); }); } else { rows = (