score:0

onFormSubmit() {
    console.log("save");
    this.props.changeTitle(this.state.title)
    this.props.changeDescription(this.state.description)
    this.props.changePrice(this.state.price)
    this.props.onSubmit()
  }

score:0

onFormSubmit() {
    console.log("save");
    this.props.changeTitle(this.state.title)
    this.props.changeDescription(this.state.description)
    this.props.changePrice(this.state.price)
    this.props.onSubmit();
}

Related Query

More Query from same tag