I have the ID in the function, but I can't call useQuery inside a function? What is the correct way - TanStack