From b17bebb546c752efe6fdd6a107aff33711d9dd72 Mon Sep 17 00:00:00 2001 From: Weilin Shi <934587911@qq.com> Date: Wed, 13 Feb 2019 00:47:19 +0800 Subject: [PATCH] Clean up revert (#1263) --- src/index.js | 3 --- src/methods.js | 1 - 2 files changed, 4 deletions(-) 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, }