What is the correct way of using useInfiniteQuery? - TanStack