fix connect button

This commit is contained in:
Barry Gitarts 2019-09-18 05:51:19 -04:00
parent 551f3108bc
commit 3609467d27

View File

@ -100,6 +100,8 @@ const SubmissionSection = ({ classes, projectData, projectId, profileData, start
amount: '', amount: '',
}} }}
validate={values => { validate={values => {
const activeStep = stepperProgress(values, projectData, submissionState)
if (!activeStep) return
return schema.validate(values) return schema.validate(values)
.catch(function(err) { .catch(function(err) {
let errors = {} let errors = {}