From a1af0d0a649dfe5d86690c95909729c28dea72be Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 13 Jun 2019 18:29:08 +0200 Subject: [PATCH] =?UTF-8?q?:art:=20garde=20en=20m=C3=A9moire=20si=20la=20s?= =?UTF-8?q?imulation=20est=20commenc=C3=A9e=20dans=20la=20comparaison=20de?= =?UTF-8?q?s=20r=C3=A9gimes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/SchemeComparaison.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/components/SchemeComparaison.js b/source/components/SchemeComparaison.js index 4797cd564..2f4f0793b 100644 --- a/source/components/SchemeComparaison.js +++ b/source/components/SchemeComparaison.js @@ -72,7 +72,9 @@ const SchemeComparaison = ({ setSituationBranch }: Props) => { const [showMore, setShowMore] = useState(false) - const [conversationStarted, setConversationStarted] = useState(false) + const [conversationStarted, setConversationStarted] = useState( + !!assimiléSalarié.revenuNetAprèsImpôts.montant + ) const startConversation = useCallback(() => setConversationStarted(true), [ setConversationStarted ])