Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onClick={() => dispatch(submit('remoteSubmit'))}
>
onClick={() => this.props.dispatch(submit(formID))}
color="primary"
_handleNavigatorEvent = event => {
const { dispatch } = this.props;
if (event.type === 'NavBarButtonPress') {
if (event.id === 'save') {
dispatch(submit('appointmentForm'));
}
}
};
onClick={() => this.props.dispatch(submit(formID))}
color="primary"
saveForm: (values) => {
dispatch(submit('CheckoutStepShipping'));
},
finishCheckout: (values) => {
submitForm: () => (dispatch) => dispatch(submit(ACCOUNT_FORM_NAME))
}
return () => {
dispatch(submit(ACTION_RUNNER_FORM_NAME))
}
}
onClick={() => dispatch(submit('syncValidation'))}
disabled={submitting || invalid}
pressSignup: () => dispatch(submit('signupForm')),
signup: (user) => dispatch(userActions.signup(user)),
onSaveFn: () => dispatch(submitForm('repository')),
onTestRepoFn: (data) => dispatch(repoActions.testRepository(data))