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 {
|
||||
loanHeading: '',
|
||||
showPersonalMessage: true,
|
||||
showEndDate: false,
|
||||
showStartDate: false,
|
||||
showEndDate: true,
|
||||
showStartDate: true,
|
||||
showPassword: true
|
||||
};
|
||||
},
|
||||
@ -53,7 +53,7 @@ let LoanForm = React.createClass({
|
||||
|
||||
componentDidMount() {
|
||||
LoanContractStore.listen(this.onChange);
|
||||
LoanContractActions.flushLoanContract();
|
||||
LoanContractActions.flushLoanContract.defer();
|
||||
},
|
||||
|
||||
componentWillUnmount() {
|
||||
|
Loading…
Reference in New Issue
Block a user