Fix prefer-template eslint rule in ES6 files

[MAILPOET-1139]
This commit is contained in:
Pavel Dohnal
2017-12-06 14:18:24 +00:00
parent e7ddfc3d29
commit 170fd7f051
26 changed files with 58 additions and 59 deletions

View File

@@ -22,7 +22,7 @@ const FormFieldText = React.createClass({
: false
}
name={this.props.field.name}
id={'field_' + this.props.field.name}
id={`field_${this.props.field.name}`}
value={value}
placeholder={this.props.field.placeholder}
onChange={this.props.onValueChange}