From 256d22cce93f29e6e3bc0eea1e1324ab1af1e374 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Mon, 8 Jul 2019 12:08:43 +0200 Subject: [PATCH] :green_heart: eslint --- .../mon-entreprise.fr/pages/ÉconomieCollaborative/reducers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/sites/mon-entreprise.fr/pages/ÉconomieCollaborative/reducers.js b/source/sites/mon-entreprise.fr/pages/ÉconomieCollaborative/reducers.js index b0085c1d8..609a1e1b2 100644 --- a/source/sites/mon-entreprise.fr/pages/ÉconomieCollaborative/reducers.js +++ b/source/sites/mon-entreprise.fr/pages/ÉconomieCollaborative/reducers.js @@ -1,4 +1,4 @@ -import { without, map, pipe, mergeAll, unnest } from 'ramda' +import { map, mergeAll, pipe, unnest, without } from 'ramda' import activités from './activités.yaml' export let flatActivités = pipe( map(a => (a.activités ? [a, ...a.activités] : [a])), @@ -21,6 +21,7 @@ let initialState = { let reducer = (state = initialState, action) => { switch (action.type) { case 'SELECT_ACTIVITY': + // eslint-disable-next-line let titre = action.titre, selectedActivities = state.selectedActivities, selected = selectedActivities.includes(titre)