updateInputValue = ({ currentTarget: { name, value, checked, type } }) => {
  this.setState({
    [name]: type === 'checkbox' ? checked : value || this.initialState[name]
  })
}
