From 4cf4318df500cd4fd5ca30d86c5a1e5f451095fe Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Mon, 13 May 2019 16:35:27 +0200 Subject: [PATCH] =?UTF-8?q?:bug:=20r=C3=A9pare=20le=20bouton=20faire=20une?= =?UTF-8?q?=20simulation=20personalis=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/SalaryFirstExplanation.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/source/components/SalaryFirstExplanation.js b/source/components/SalaryFirstExplanation.js index 4a8f8a12e..f526e74a2 100644 --- a/source/components/SalaryFirstExplanation.js +++ b/source/components/SalaryFirstExplanation.js @@ -17,17 +17,14 @@ type Props = OwnProps & { } export default (connect( - state => ( - { - conversationStarted: state.conversationStarted, - period: formValueSelector('conversation')(state, 'période') - }, - { startConversation } - ) + state => ({ + conversationStarted: state.conversationStarted, + period: formValueSelector('conversation')(state, 'période') + }), + { startConversation } )( class SalaryFirstExplanation extends Component { render() { - console.log('yo', this.props.period) return ( <>