mirror of
https://github.com/gosticks/react-table.git
synced 2026-04-01 10:24:31 +00:00
Clean up revert (#1263)
This commit is contained in:
committed by
Tanner Linsley
parent
71e2654156
commit
b17bebb546
@@ -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,
|
||||
|
||||
@@ -63,7 +63,6 @@ export default Base =>
|
||||
}
|
||||
} else {
|
||||
dcol = {
|
||||
...this.props.column,
|
||||
...this.props.column,
|
||||
...column,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user