Browse Source

Cleanup.

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

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

@ -1,6 +1,6 @@
import React, { PropTypes } from 'react'; import React, { PropTypes } from 'react';
import SelectField from 'material-ui/SelectField';
import MenuItem from 'material-ui/MenuItem'; import MenuItem from 'material-ui/MenuItem';
import SelectField from 'material-ui/SelectField';
const sources = ['COS_BIKE_DIVERSION_PILOT', 'UOFS', 'DROP_OFF']; const sources = ['COS_BIKE_DIVERSION_PILOT', 'UOFS', 'DROP_OFF'];
@ -14,7 +14,7 @@ export const friendly = (s) => {
return 'Drop Off'; return 'Drop Off';
default: default:
return undefined; return undefined;
}; }
}; };
const Source = ({ source }) => { const Source = ({ source }) => {
@ -28,7 +28,7 @@ const Source = ({ source }) => {
floatingLabelText="Source" floatingLabelText="Source"
value={source} value={source}
onChange={undefined} onChange={undefined}
autoWidth={true} autoWidth
> >
<MenuItem value={null} primaryText="" /> <MenuItem value={null} primaryText="" />
{items} {items}

Loading…
Cancel
Save