diff --git a/src/TableCell.jsx b/src/TableCell.jsx index 846b13370..f9503de82 100644 --- a/src/TableCell.jsx +++ b/src/TableCell.jsx @@ -47,8 +47,8 @@ export default class TableCell extends React.Component { text = render(text, record, index); if (this.isInvalidRenderCellText(text)) { tdProps = text.props || {}; - rowSpan = tdProps.rowSpan; colSpan = tdProps.colSpan; + rowSpan = tdProps.rowSpan; text = text.children; } } @@ -70,9 +70,8 @@ export default class TableCell extends React.Component { } return ( {indentText}