 CreateCreditCardForm = reduxForm(
   form: FORM_NAME
   enableReinitialize: yes
+  onSubmit: handleSubmit
 )(CreateCreditCardForm)
 
-mapStateToProps = (state, props) ->
+
+mapStateToProps = (state) ->
   return {
     isDirty: select.dirty(state)
     # if form is not dirty credit card figure will use this data

_ = require 'lodash'
{ reduxForm, SubmissionError, isDirty, reset: resetForm } = require 'redux-form'
{ connect } = require 'react-redux'

stripe = require 'app/redux/modules/stripe'
customer = require 'app/redux/modules/payment/customer'

CreateCreditCardForm = require 'lab/CreateCreditCardForm'

{ select, FORM_NAME, mapErrors } = require './helpers'





# first we connect reduxForm to ensure

  }


# then we connect our own state mapper to implement our custom logic.
CreateCreditCardForm = connect(
  mapStateToProps
  null
