Corrige le pb de la double modification de réponse
parent
64bc5de61f
commit
61e11a648b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue