({ target })
| 12 | const { username, email } = formState; |
| 13 | |
| 14 | const onInputChange = ({ target }) => { |
| 15 | const { name, value } = target; |
| 16 | setFormState({ |
| 17 | ...formState, |
| 18 | [ name ]: value |
| 19 | }); |
| 20 | } |
| 21 | |
| 22 | |
| 23 | useEffect( () => { |
nothing calls this directly
no outgoing calls
no test coverage detected