trpc.user.getUser.useQuery

Does anyone know how to call onSuccess using the above wrapper of useQuery?
Was this page helpful?