Skip to content

Commit

Permalink
fix(Table): restore tableData mapping logic
Browse files Browse the repository at this point in the history
  • Loading branch information
levithomason committed Nov 22, 2016
1 parent 7ac98a3 commit 7431f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collections/Table/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function Table(props) {
<ElementType {...rest} className={classes}>
{headerRow && <TableHeader>{TableRow.create(headerRow, { cellAs: 'th' })}</TableHeader>}
<TableBody>
{renderBodyRow && TableRow.create(_.map(tableData, (data, index) => renderBodyRow(data, index)))}
{renderBodyRow && _.map(tableData, (data, index) => TableRow.create(renderBodyRow(data, index)))}
</TableBody>
{footerRow && <TableFooter>{TableRow.create(footerRow)}</TableFooter>}
</ElementType>
Expand Down

0 comments on commit 7431f0c

Please sign in to comment.