any idea on why my state is being changed to undefined ?
The whole situation is that I initiate my state as:
const [state, setState] = useState({ email