1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-23 01:36:28 +02:00

fix invariant violation

This commit is contained in:
Tim Daubenschütz 2015-08-26 17:32:42 +02:00
parent 19c882f3b4
commit e473b4c779

View File

@ -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() {