From d39f2b2907aa49f5fa383d2246875220a77c818c Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Tue, 28 Mar 2017 11:26:11 -0300 Subject: [#932] Adds logic to go to next step --- web-ui/src/account_recovery/forms/admin_recovery_code_form.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'web-ui/src/account_recovery/forms/admin_recovery_code_form.js') diff --git a/web-ui/src/account_recovery/forms/admin_recovery_code_form.js b/web-ui/src/account_recovery/forms/admin_recovery_code_form.js index 68889e40..ea71566b 100644 --- a/web-ui/src/account_recovery/forms/admin_recovery_code_form.js +++ b/web-ui/src/account_recovery/forms/admin_recovery_code_form.js @@ -24,8 +24,8 @@ import SubmitButton from 'src/common/submit_button/submit_button'; import './admin_recovery_code_form.scss'; -export const AdminRecoveryCodeForm = ({ t }) => ( -
+export const AdminRecoveryCodeForm = ({ t, next }) => ( +

{t('account-recovery.admin-form.title')}

  • {t('account-recovery.admin-form.tip1')}
  • @@ -34,11 +34,12 @@ export const AdminRecoveryCodeForm = ({ t }) => (
-
+ ); AdminRecoveryCodeForm.propTypes = { - t: React.PropTypes.func.isRequired + t: React.PropTypes.func.isRequired, + next: React.PropTypes.func.isRequired }; export default translate('', { wait: true })(AdminRecoveryCodeForm); -- cgit v1.2.3