From 6d5ccf2c9820b5d64694ed5ea18f71702cba8a14 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Thu, 26 Oct 2017 13:08:07 -0500 Subject: [PATCH] fix(channelform): push_amt reducer bug --- app/reducers/channelform.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/reducers/channelform.js b/app/reducers/channelform.js index 7adcbfc8..7883cf7f 100644 --- a/app/reducers/channelform.js +++ b/app/reducers/channelform.js @@ -52,7 +52,7 @@ export function setLocalAmount(local_amt) { } } -export function setPushAmount(local_amt) { +export function setPushAmount(push_amt) { return { type: SET_PUSH_AMOUNT, push_amt @@ -109,7 +109,7 @@ channelFormSelectors.channelFormHeader = createSelector( channelFormSelectors.channelFormProgress = createSelector( channelFormStepSelector, - step => (step / 4) * 100 + step => ((step - 1) / 3) * 100 ) export { channelFormSelectors }