How call useQuery inside jsx with params - TanStack