Skip to content

Commit

Permalink
Merge pull request #1288 from sharetribe/fix-onsubmit-final-form-mixup
Browse files Browse the repository at this point in the history
Fix onsubmit final form mixup
  • Loading branch information
Gnito authored May 13, 2020
2 parents 85002ab + 7a2efdd commit af4db60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ way to update this template, but currently, we follow a pattern:

- [fix] Allow white space on Japanese bank account info. Japan collects bank name and account owner
name in addition to routing numbers. [#1287](https://github.com/sharetribe/ftw-daily/pull/1287)
- [fix] wrongly named default props handleSubmit renamed to onSubmit
[#1288](https://github.com/sharetribe/ftw-daily/pull/1288)

## [v4.4.2] 2020-04-09

Expand Down
4 changes: 2 additions & 2 deletions src/forms/PaymentMethodsForm/PaymentMethodsForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ PaymentMethodsForm.defaultProps = {
className: null,
rootClassName: null,
inProgress: false,
handleSubmit: null,
onSubmit: null,
addPaymentMethodError: null,
deletePaymentMethodError: null,
createStripeCustomerError: null,
Expand All @@ -294,7 +294,7 @@ PaymentMethodsForm.defaultProps = {
PaymentMethodsForm.propTypes = {
formId: string,
intl: intlShape.isRequired,
handleSubmit: func,
onSubmit: func,
addPaymentMethodError: object,
deletePaymentMethodError: object,
createStripeCustomerError: object,
Expand Down

0 comments on commit af4db60

Please sign in to comment.