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