forked from sk1982/actaeon
fix: page size change not updating query params in filter
This commit is contained in:
parent
cabdc60e27
commit
9418fd6140
@ -251,7 +251,7 @@ const FilterSorterComponent = <D, M extends string, N extends string, S extends
|
|||||||
prevNonce.current = 1;
|
prevNonce.current = 1;
|
||||||
onChange.cancel();
|
onChange.cancel();
|
||||||
}
|
}
|
||||||
}, [data, filterers, filterState, currentPage, ascending, searcher, sorters, sorter]);
|
}, [data, filterers, filterState, currentPage, ascending, searcher, sorters, sorter, pageSize]);
|
||||||
|
|
||||||
const initialQuery = useRef(true);
|
const initialQuery = useRef(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user