Fix table fetchMore flakyness (#12702)
Remove useless debounce + using cacheFirst for fetchMore as fetchingMore will trigger initial fetch if not already performed
This commit is contained in:
@@ -65,7 +65,7 @@ export const useLazyFindManyRecords = <T extends ObjectRecord = ObjectRecord>({
|
||||
limit,
|
||||
orderBy,
|
||||
},
|
||||
fetchPolicy: 'network-only',
|
||||
fetchPolicy: 'cache-first',
|
||||
onCompleted: handleFindManyRecordsCompleted,
|
||||
onError: handleFindManyRecordsError,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user