diff --git a/.flowconfig b/.flowconfig index 08f6ac040..05447f590 100644 --- a/.flowconfig +++ b/.flowconfig @@ -5,6 +5,7 @@ [include] + [libs] [options] diff --git a/source/components/ResultView/RépartitionSelector.js b/source/components/ResultView/RépartitionSelector.js index 2724c725b..3e2b48ccf 100644 --- a/source/components/ResultView/RépartitionSelector.js +++ b/source/components/ResultView/RépartitionSelector.js @@ -14,7 +14,6 @@ import { pipe, reduce, sort, - values, without } from 'ramda' import { createSelector } from 'reselect' @@ -142,7 +141,7 @@ const répartition = (ficheDePaie: FicheDePaie): Répartition => { cotisationMaximum: compose( reduce(max, 0), map(montant => montant.partPatronale + montant.partSalariale), - values + Object.values // $FlowFixMe )(répartitionMap), salaireNet,