(data)
| 10 | const { register, handleSubmit, errors } = useForm(); |
| 11 | const [size, setSize] = useState(1); |
| 12 | const onSubmit = (data) => { |
| 13 | alert(JSON.stringify(data)); |
| 14 | }; |
| 15 | |
| 16 | console.log(errors); |
| 17 |
nothing calls this directly
no outgoing calls
no test coverage detected