How to use react-intersection-observer with useQuery? - TanStack