message: fix(@chakra-ui/switch): apply register fn on elements
diff: @@ -80,9 +80,9 @@ export const WithReactHookForm = () => {
  return (
  <form onSubmit={handleSubmit(onSubmit)}>
  - <input name="name" placeholder="name" ref={register} />
  - {/* <input type="checkbox" name="boolean" ref={register} /> */}
  - <Switch name="boolean" ref={register} />
  + <input placeholder="name" {...register("name")} />
  + {/* <input type="checkbox" {...register("boolean")} /> */}
  + <Switch {...register("boolean")} />
  <button type="submit">Submit</button>
  </form>
  )
  