Skip to content

Commit 7431f0c

Browse files
committed
fix(Table): restore tableData mapping logic
1 parent 7ac98a3 commit 7431f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collections/Table/Table.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function Table(props) {
8484
<ElementType {...rest} className={classes}>
8585
{headerRow && <TableHeader>{TableRow.create(headerRow, { cellAs: 'th' })}</TableHeader>}
8686
<TableBody>
87-
{renderBodyRow && TableRow.create(_.map(tableData, (data, index) => renderBodyRow(data, index)))}
87+
{renderBodyRow && _.map(tableData, (data, index) => TableRow.create(renderBodyRow(data, index)))}
8888
</TableBody>
8989
{footerRow && <TableFooter>{TableRow.create(footerRow)}</TableFooter>}
9090
</ElementType>

0 commit comments

Comments
 (0)