mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 18:35:09 +01:00
fix invariant violation
This commit is contained in:
parent
19c882f3b4
commit
e473b4c779
@ -41,8 +41,8 @@ let LoanForm = React.createClass({
|
|||||||
return {
|
return {
|
||||||
loanHeading: '',
|
loanHeading: '',
|
||||||
showPersonalMessage: true,
|
showPersonalMessage: true,
|
||||||
showEndDate: false,
|
showEndDate: true,
|
||||||
showStartDate: false,
|
showStartDate: true,
|
||||||
showPassword: true
|
showPassword: true
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -53,7 +53,7 @@ let LoanForm = React.createClass({
|
|||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
LoanContractStore.listen(this.onChange);
|
LoanContractStore.listen(this.onChange);
|
||||||
LoanContractActions.flushLoanContract();
|
LoanContractActions.flushLoanContract.defer();
|
||||||
},
|
},
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
Loading…
Reference in New Issue
Block a user