mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
[useSortBy] updating missed key rename (#1724)
This commit is contained in:
parent
546cb4e076
commit
3d5249b716
@ -40,7 +40,7 @@ reducerHandlers[pluginName] = (state, action) => {
|
||||
|
||||
if (action.type === actions.clearSortBy) {
|
||||
const { sortBy } = state
|
||||
const newSortBy = sortBy.filter(d => d.id !== action.columnID)
|
||||
const newSortBy = sortBy.filter(d => d.id !== action.columnId)
|
||||
|
||||
return {
|
||||
...state,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user