diff --git a/source/components/conversation/FormDecorator.js b/source/components/conversation/FormDecorator.js index 6c927e9fc..6afc10a29 100644 --- a/source/components/conversation/FormDecorator.js +++ b/source/components/conversation/FormDecorator.js @@ -35,15 +35,7 @@ export var FormDecorator = formType => RenderField => helpVisible: false } render() { - let { - stepAction, - valueType, - defaultValue, - fieldName, - inversion, - setFormValue, - unit - } = this.props + let { stepAction, fieldName, inversion, setFormValue } = this.props let submit = cause => stepAction('fold', fieldName, cause), stepProps = { ...this.props, diff --git a/source/externalize.js b/source/externalize.js index 60af00c4a..7afe7546d 100644 --- a/source/externalize.js +++ b/source/externalize.js @@ -30,7 +30,7 @@ let resolved = rules .map(rule => ({ [buildDottedName(rule)]: R.mergeAll( R.toPairs(rule) - .filter(([_, v]) => !!v) + .filter(([, v]) => !!v) .map(([k, v]) => { let attrToTranslate = attributesToExternalize.find(R.equals(k)) if (!attrToTranslate) return {}