Fix default resetSelectedRowsDeps (#1663)

* This one also is listening to rows, instead of data.
This commit is contained in:
Andros Rosa Llop 2019-11-30 00:14:25 -04:00 committed by Tanner Linsley
parent 0a512adaf0
commit 764a8ce281
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ export const useExpanded = hooks => {
useExpanded.pluginName = 'useExpanded'
const defaultGetResetExpandedDeps = instance => [instance.data]
const defaultGetResetExpandedDeps = ({ data }) => [data]
function useMain(instance) {
const {

View File

@ -49,7 +49,7 @@ function useRows(rows, instance) {
return rows
}
const defaultGetResetSelectedRowPathsDeps = ({ rows }) => [rows]
const defaultGetResetSelectedRowPathsDeps = ({ data }) => [data]
function useMain(instance) {
const {