Corrige le pb de la double modification de réponse

pull/104/head
mama 2017-10-18 10:45:20 +02:00
parent 64bc5de61f
commit 61e11a648b
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ export let reduceSteps = (state, action) => {
ReactPiwik.push(['trackEvent', 'unfold', action.step]);
let stepFinder = R.propEq('name', action.step),
foldedSteps = R.reject(stepFinder)(state.foldedSteps),
foldedSteps = R.reject(stepFinder)(state.foldedSteps).concat(state.unfoldedSteps),
extraSteps = R.reject(stepFinder)(state.extraSteps)
return {