Browse Source

Formatting.

feature/bike-tracking
Drew Larson 8 years ago
parent
commit
e5dd313fbe
  1. 6
      bikeshop_project/assets/js/bikes/components/BikeModal/index.jsx

6
bikeshop_project/assets/js/bikes/components/BikeModal/index.jsx

@ -66,7 +66,11 @@ export default class BikeModal extends React.Component {
autoScrollBodyContent autoScrollBodyContent
> >
{ this.state.bike ? { this.state.bike ?
<BikeForm bike={this.state.bike} editing={this.state.editing} getBikes={this.props.getBikes} /> : <BikeForm
bike={this.state.bike}
editing={this.state.editing}
getBikes={this.props.getBikes}
/> :
<div>Unable to edit bike.</div> <div>Unable to edit bike.</div>
} }
</Dialog> </Dialog>

Loading…
Cancel
Save