From e473b4c779a8cd9e7106b71f11a96f669b695723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Wed, 26 Aug 2015 17:32:42 +0200 Subject: [PATCH] fix invariant violation --- js/components/ascribe_forms/form_loan.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/components/ascribe_forms/form_loan.js b/js/components/ascribe_forms/form_loan.js index 07c4b77c..335df648 100644 --- a/js/components/ascribe_forms/form_loan.js +++ b/js/components/ascribe_forms/form_loan.js @@ -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() {