Is it possible to run code if and only if a useQuery resolves successfully?

Original message was deleted