diff --git a/source/components/conversation/Input.js b/source/components/conversation/Input.js index 41969829e..939fd1f29 100644 --- a/source/components/conversation/Input.js +++ b/source/components/conversation/Input.js @@ -11,8 +11,8 @@ import SendButton from './SendButton' @translate() export default class Input extends Component { static contextTypes = { - i18n: PropTypes.object.isRequired - } + i18n: PropTypes.object.isRequired + } state = { lastValue: '' } @@ -54,8 +54,7 @@ export default class Input extends Component { )} @@ -97,8 +96,7 @@ export default class Input extends Component { name={'inversions.' + dottedName} onChange={(e, newValue, previousFieldName) => setFormValue('', previousFieldName) - } - > + }> {inversion.inversions.map(({ name, title, dottedName }) => (