removed obsolete code

This commit is contained in:
Jonathan Labreuille
2015-10-01 12:31:19 +02:00
parent 9bb7a83b99
commit 48b027fa62

View File

@@ -119,17 +119,6 @@ define(
);
var fields = this.props.fields.map(function(field, i) {
// if(field['fields'] !== undefined) {
// return field.fields.map(function(subfield, j) {
// return (
// <FormField
// field={ subfield }
// item={ this.state.item }
// onValueChange={ this.handleValueChange }
// key={ 'subfield-'+j } />
// );
// }.bind(this));
// } else {
return (
<FormField
field={ field }
@@ -137,7 +126,6 @@ define(
onValueChange={ this.handleValueChange }
key={ 'field-'+i } />
);
// }
}.bind(this));
return (