1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 00:28:00 +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 { 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() {