useQuery calling API twice for the first page load. - TanStack