From 8857cde6c8dd377ef9ac0bed1a59ed547b54997f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasia=20Jarmo=C5=82kowicz?= Date: Fri, 8 Jun 2018 15:27:21 +0200 Subject: [PATCH] Fixup --- client/js/nonprofits/donate/wizard.js | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/client/js/nonprofits/donate/wizard.js b/client/js/nonprofits/donate/wizard.js index 59c945bd..f264a137 100644 --- a/client/js/nonprofits/donate/wizard.js +++ b/client/js/nonprofits/donate/wizard.js @@ -194,18 +194,16 @@ const headerDesignation = state => { } const wizardWrapper = state => { - // return h('div.wizard-steps.donation-steps', [ - // wizard.view(R.merge(state.wizard, { - // steps: [ - // {name: I18n.t('nonprofits.donate.amount.label'), body: amountStep.view(state.amountStep)} - // , {name: I18n.t('nonprofits.donate.info.label'), body: infoStep.view(state.infoStep)} - // , {name: I18n.t('nonprofits.donate.payment.label'), body: paymentStep.view(state.paymentStep)} - // ] - // , followup: followupStep.view(state) - // })) - // ]) - - return h('div.wizard-steps.donation-steps', 'Donation widget should be here.') + return h('div.wizard-steps.donation-steps', [ + wizard.view(R.merge(state.wizard, { + steps: [ + {name: I18n.t('nonprofits.donate.amount.label'), body: amountStep.view(state.amountStep)} + , {name: I18n.t('nonprofits.donate.info.label'), body: infoStep.view(state.infoStep)} + , {name: I18n.t('nonprofits.donate.payment.label'), body: paymentStep.view(state.paymentStep)} + ] + , followup: followupStep.view(state) + })) + ]) } module.exports = {view, init}