diff --git a/bikeshop_project/assets/js/bikes/components/BikeModal/index.jsx b/bikeshop_project/assets/js/bikes/components/BikeModal/index.jsx index 7383f34..a64259e 100644 --- a/bikeshop_project/assets/js/bikes/components/BikeModal/index.jsx +++ b/bikeshop_project/assets/js/bikes/components/BikeModal/index.jsx @@ -43,9 +43,16 @@ export default class BikeModal extends React.Component { />, ]; + const title = this.state.bike && this.state.bike.stolen ? + (