mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
.required => .isRequired
This commit is contained in:
parent
9d67d046d0
commit
2486158c12
@ -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() {
|
||||
|
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user