mirror of
				https://github.com/fspc/workstand.git
				synced 2025-10-31 16:35:35 -04:00 
			
		
		
		
	Forgotten import.
This commit is contained in:
		
							parent
							
								
									049e3fd587
								
							
						
					
					
						commit
						a28fe8bb2d
					
				| @ -4,7 +4,7 @@ import { connect } from 'react-redux'; | ||||
| import FlatButton from 'material-ui/FlatButton'; | ||||
| import RaisedButton from 'material-ui/RaisedButton'; | ||||
| import Size from '../Size'; | ||||
| import { renderCheckbox, renderSelectField, renderTextField } from './utils'; | ||||
| import { renderCheckbox, renderSelectField, renderTextField, sourceMenuItems } from './utils'; | ||||
| import { updateBike, saveBike, checkCpic } from '../../actions'; | ||||
| 
 | ||||
| const styles = { | ||||
| @ -19,8 +19,6 @@ const styles = { | ||||
|   }, | ||||
| }; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| const validate = (values) => { | ||||
|   const errors = {}; | ||||
|   const requiredFields = ['make', 'colour', 'size', 'serial_number', 'donation_source']; | ||||
|  | ||||
| @ -19,7 +19,7 @@ const friendly = (s) => { | ||||
|   } | ||||
| }; | ||||
| 
 | ||||
| const sourceMenuItems = sources.map(s => | ||||
| export const sourceMenuItems = sources.map(s => | ||||
|   <MenuItem key={s} value={s} primaryText={friendly(s)} />, | ||||
| ); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user