fix: page size change not updating query params in filter

This commit is contained in:
sk1982 2024-04-07 06:54:31 -04:00
parent cabdc60e27
commit 9418fd6140

View File

@ -251,7 +251,7 @@ const FilterSorterComponent = <D, M extends string, N extends string, S extends
prevNonce.current = 1;
onChange.cancel();
}
}, [data, filterers, filterState, currentPage, ascending, searcher, sorters, sorter]);
}, [data, filterers, filterState, currentPage, ascending, searcher, sorters, sorter, pageSize]);
const initialQuery = useRef(true);