diff --git a/src/index.js b/src/index.js index 069bc85..c5d7289 100644 --- a/src/index.js +++ b/src/index.js @@ -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 ( } } else { dcol = { - ...this.props.column, ...this.props.column, ...column, }