diff --git a/js/components/ascribe_forms/form_loan_request_answer.js b/js/components/ascribe_forms/form_loan_request_answer.js index 2ebdb439..1bfe90db 100644 --- a/js/components/ascribe_forms/form_loan_request_answer.js +++ b/js/components/ascribe_forms/form_loan_request_answer.js @@ -18,7 +18,7 @@ let LoanRequestAnswerForm = React.createClass({ url: React.PropTypes.string, id: React.PropTypes.object, message: React.PropTypes.string, - handleSuccess: React.PropTypes.func.required + handleSuccess: React.PropTypes.func.isRequired }, getDefaultProps() { diff --git a/js/components/ascribe_settings/account_settings.js b/js/components/ascribe_settings/account_settings.js index aa50d719..7c769c22 100644 --- a/js/components/ascribe_settings/account_settings.js +++ b/js/components/ascribe_settings/account_settings.js @@ -19,8 +19,8 @@ import { getLangText } from '../../utils/lang_utils'; let AccountSettings = React.createClass({ propTypes: { - currentUser: React.PropTypes.object.required, - loadUser: React.PropTypes.func.required + currentUser: React.PropTypes.object.isRequired, + loadUser: React.PropTypes.func.isRequired }, handleSuccess(){