From 9154501165682c948269ebf0d018f6bcd3e3493d Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Tue, 3 Jul 2018 14:54:06 +0200 Subject: [PATCH] :white_check_mark: corrige l'erreur flow ***recusion limit exceeded*** --- .flowconfig | 1 + source/components/ResultView/RépartitionSelector.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) 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,