score:2

addCard(){
  this.setState({
    data: this.state.data.contact({
      name: this.state.name, desc: this.state.desc
    }), 
    name: '', 
    desc: ''
  });
}

Related Query

More Query from same tag