Supprime variables inutilisées

Pour réparer les tests
pull/607/head
Maxime Quandalle 2019-07-16 15:08:57 +02:00
parent 3ea46f5d54
commit 2bc86398c0
2 changed files with 2 additions and 10 deletions

View File

@ -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,

View File

@ -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 {}