message: Import control from useForm()
  The `control` was missing. `register` and `setValue` was destructured for no use. Removed these two, and added control.
diff: @@ -3,7 +3,7 @@ import { useForm, Controller } from "react-hook-form";
  import { TextField } from "@material-ui/core";
  function App() {
  - const { register, setValue, handleSubmit } = useForm();
  + const { control, handleSubmit } = useForm();
  const onSubmit = data => {
  console.log(data);
  