Clean up revert (#1263)

This commit is contained in:
Weilin Shi
2019-02-13 00:47:19 +08:00
committed by Tanner Linsley
parent 71e2654156
commit b17bebb546
2 changed files with 0 additions and 4 deletions

View File

@@ -198,8 +198,6 @@ export default class ReactTable extends Methods(Lifecycle(Component)) {
const makeHeaderGroup = (column, i) => {
const resizedValue = col => (resized.find(x => x.id === col.id) || {}).value
const leafColumns = _.leaves(column, 'columns')
const flex = _.sum(
column.columns.map(col => (col.width || resizedValue(col) ? 0 : col.minWidth))
)
@@ -263,7 +261,6 @@ export default class ReactTable extends Methods(Lifecycle(Component)) {
const theadGroupTrProps = _.splitProps(getTheadGroupTrProps(finalState, undefined, undefined, this))
return (
<TheadComponent
key={`${i}-${row.id}`}
className={classnames('-headerGroups', theadGroupProps.className)}
style={{
...theadGroupProps.style,

View File

@@ -63,7 +63,6 @@ export default Base =>
}
} else {
dcol = {
...this.props.column,
...this.props.column,
...column,
}