better handling of grid refresh

This commit is contained in:
Kendall Garner 2024-08-19 21:36:56 -07:00
parent 886786d428
commit 94edda1856
No known key found for this signature in database
GPG key ID: 18D2767419676C87
3 changed files with 24 additions and 7 deletions

View file

@ -123,7 +123,6 @@ export const useListFilterRefresh = ({
gridRef.current?.scrollTo(0);
gridRef.current?.resetLoadMoreItemsCache();
gridRef.current?.setItemData([]);
const query = { ...filter, limit: 200, startIndex: 0 };