Compruebe si la entrada se toca reaccionar

const [touched, setTouched] = useState(false);
<input onChange={() => { setTouched(true); }} />
ahmad-ali14