mirror of
https://github.com/gosticks/react-table.git
synced 2026-10-04 14:56:59 +00:00
Update useRowSelect.js
This commit is contained in:
@@ -104,7 +104,7 @@ function reducer(state, action, previousState, instance) {
|
||||
selectedRowIds[rowId] = true
|
||||
})
|
||||
} else {
|
||||
Object.keys(flatRowsById).forEach(rowId => {
|
||||
Object.keys(nonGroupedRowsById).forEach(rowId => {
|
||||
delete selectedRowIds[rowId]
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user