diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d97ece8a7..2d9f48143d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,10 +12,14 @@ way to update this template, but currently, we follow a pattern: --- -## Upcoming version 2019-XX-XX +## Upcoming version 2020-XX-XX +## [v4.1.0] 2020-02-03 + +- [fix] Remove unused 'invalid' prop that breaks some versions of Final Form + [#1255](https://github.com/sharetribe/ftw-daily/pull/1255) - [fix] Fix `console.warn` functions. [#1252](https://github.com/sharetribe/ftw-daily/pull/1252) -- [fix] Add missing countries (e.g. MX and JP) to `StripeBankAccountTokenInput` validations. +- [add] Add missing countries (e.g. MX and JP) to `StripeBankAccountTokenInput` validations. [#1250](https://github.com/sharetribe/ftw-daily/pull/1250) ## [v4.0.0] 2019-12-19 diff --git a/src/forms/PaymentMethodsForm/PaymentMethodsForm.js b/src/forms/PaymentMethodsForm/PaymentMethodsForm.js index 46b3cf5828..7be277b0ef 100644 --- a/src/forms/PaymentMethodsForm/PaymentMethodsForm.js +++ b/src/forms/PaymentMethodsForm/PaymentMethodsForm.js @@ -4,7 +4,7 @@ * It's also handled separately in handleSubmit function. */ import React, { Component } from 'react'; -import { bool, func, object, string } from 'prop-types'; +import { func, object, string } from 'prop-types'; import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl'; import { Form as FinalForm } from 'react-final-form'; import classNames from 'classnames'; @@ -284,7 +284,6 @@ PaymentMethodsForm.defaultProps = { rootClassName: null, inProgress: false, handleSubmit: null, - invalid: false, addPaymentMethodError: null, deletePaymentMethodError: null, createStripeCustomerError: null, @@ -295,7 +294,6 @@ PaymentMethodsForm.defaultProps = { PaymentMethodsForm.propTypes = { formId: string, intl: intlShape.isRequired, - invalid: bool, handleSubmit: func, addPaymentMethodError: object, deletePaymentMethodError: object,