Skip to content

Commit 3e23dce

Browse files
authored
fix: remove body row array wrapper (#498)
1 parent 79a5aaf commit 3e23dce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Body/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function Body<RecordType>({
4545
rows = data.map((record, index) => {
4646
const key = getRowKey(record, index);
4747

48-
return [
48+
return (
4949
<BodyRow
5050
key={key}
5151
rowKey={key}
@@ -59,8 +59,8 @@ function Body<RecordType>({
5959
getRowKey={getRowKey}
6060
rowExpandable={rowExpandable}
6161
childrenColumnName={childrenColumnName}
62-
/>,
63-
];
62+
/>
63+
);
6464
});
6565
} else {
6666
rows = (

0 commit comments

Comments
 (0)