From d459d3b8291ca1d4d043997fe69d85190976bc6c Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Tue, 8 Oct 2019 10:59:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Corrige=20int=C3=A9gration=20des?= =?UTF-8?q?=20taux=20AT/MP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug introduit dans #715 --- source/components/conversation/conversation.css | 2 +- source/components/conversation/select/SelectTauxRisque.js | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/source/components/conversation/conversation.css b/source/components/conversation/conversation.css index 78c3a10c6..9fc6a1d3c 100644 --- a/source/components/conversation/conversation.css +++ b/source/components/conversation/conversation.css @@ -302,7 +302,7 @@ margin-left: 0.3em; } -.select-answer.commune { +.select-answer { flex: 1; } .select-answer.commune .Select { diff --git a/source/components/conversation/select/SelectTauxRisque.js b/source/components/conversation/select/SelectTauxRisque.js index 9943080cb..ee1935485 100644 --- a/source/components/conversation/select/SelectTauxRisque.js +++ b/source/components/conversation/select/SelectTauxRisque.js @@ -40,7 +40,7 @@ export default FormDecorator('select')(function Select(props) { const [options, setOptions] = useState(null) useEffect(() => { fetch( - 'hthttps://raw.githubusercontent.com/betagouv/taux-collectifs-cotisation-atmp/master/taux-2019.json' + 'https://raw.githubusercontent.com/betagouv/taux-collectifs-cotisation-atmp/master/taux-2019.json' ) .then(response => { if (!response.ok) { @@ -59,11 +59,7 @@ export default FormDecorator('select')(function Select(props) { return (
- +
) })