What is the best way to fetch data which is dependent on results from an infiniteQuery? - TanStack