Skip to content

Commit

Permalink
Don't pass invalid prop to Final Form
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnito committed Feb 3, 2020
1 parent 5d55d69 commit 422c7a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/forms/PaymentMethodsForm/PaymentMethodsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ PaymentMethodsForm.defaultProps = {
rootClassName: null,
inProgress: false,
handleSubmit: null,
invalid: false,
addPaymentMethodError: null,
deletePaymentMethodError: null,
createStripeCustomerError: null,
Expand All @@ -295,7 +294,6 @@ PaymentMethodsForm.defaultProps = {
PaymentMethodsForm.propTypes = {
formId: string,
intl: intlShape.isRequired,
invalid: bool,
handleSubmit: func,
addPaymentMethodError: object,
deletePaymentMethodError: object,
Expand Down

0 comments on commit 422c7a2

Please sign in to comment.