Browse Source

Wire up save to button.

feature/bike-tracking
Drew Larson 8 years ago
parent
commit
2219366859
  1. 2
      bikeshop_project/assets/js/bikes/components/BikeForm/index.jsx

2
bikeshop_project/assets/js/bikes/components/BikeForm/index.jsx

@ -247,7 +247,7 @@ class BikeForm extends React.Component {
<div className="mdl-grid">
<div style={{ textAlign: 'right' }} className="mdl-cell mdl-cell--12-col">
<RaisedButton label="Cancel" onTouchTap={this.props.handleClose} secondary />
<RaisedButton label="Save" onTouchTap={this.props.handleSave} default />
<RaisedButton label="Save" onTouchTap={this.handleSave} default />
</div>
</div>
</div>

Loading…
Cancel
Save