How can I use useQuery on click of a button ?

Original message was deleted