(e)
| 7 | const [string, setString] = useState(''); |
| 8 | |
| 9 | const handleStringChange = (e) => { |
| 10 | const value = e.target.value; |
| 11 | setString(value); |
| 12 | const valid = validator(value); |
| 13 | if (valid) { |
| 14 | return handleQueryValid(queryName, valid); |
| 15 | } |
| 16 | handleQueryInvalid(queryName); |
| 17 | }; |
| 18 | |
| 19 | return ( |
| 20 | <div className="mb-10"> |
nothing calls this directly
no test coverage detected