From 86662e13d677aa11d070e07a26e242ccb5d25b0d Mon Sep 17 00:00:00 2001 From: Matthew Taylor Date: Wed, 3 Aug 2016 15:20:58 -0400 Subject: [PATCH] Consolidate and remove `onValidSubmit` --- src/components/registration/steps.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/registration/steps.jsx b/src/components/registration/steps.jsx index eda39a096..476c4d9d9 100644 --- a/src/components/registration/steps.jsx +++ b/src/components/registration/steps.jsx @@ -499,9 +499,6 @@ module.exports = { onChooseOrganization: function (name, values) { this.setState({otherDisabled: values.indexOf(this.organizationL10nStems.indexOf('orgChoiceOther')) === -1}); }, - onValidSubmit: function (formData) { - return this.props.onNextStep(formData); - }, render: function () { var formatMessage = this.props.intl.formatMessage; return ( @@ -515,7 +512,7 @@ module.exports = { tipContent={formatMessage({id: 'registration.nameStepTooltip'})} />

-
+