[useSortBy] updating missed key rename (#1724)

This commit is contained in:
gargroh 2019-12-06 13:49:28 +05:30 committed by Tanner Linsley
parent 546cb4e076
commit 3d5249b716

View File

@ -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,