Skip to content

Commit 315fa60

Browse files
committed
fix: remove unused getNextPageParam from useContentSearchResults
1 parent d0cb659 commit 315fa60

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/search-manager/data/apiHooks.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ export const useContentSearchResults = ({
123123
limit,
124124
});
125125
},
126-
getNextPageParam: (lastPage) => lastPage.nextOffset,
127126
// Avoid flickering results when user is typing... keep old results until new is available.
128127
keepPreviousData: true,
129128
refetchOnWindowFocus: false, // This doesn't need to be refreshed when the user switches back to this tab.

0 commit comments

Comments
 (0)