🔨 MAJ des taux AT/MP 2019

pull/715/head
Maxime Quandalle 2019-10-07 16:20:53 +02:00
parent 204f87a29d
commit d46272cf26
No known key found for this signature in database
GPG Key ID: 428641C03D29CA10
1 changed files with 6 additions and 2 deletions

View File

@ -40,7 +40,7 @@ export default FormDecorator('select')(function Select(props) {
const [options, setOptions] = useState(null)
useEffect(() => {
fetch(
'https://raw.githubusercontent.com/sgmap/taux-collectifs-cotisation-atmp/master/taux-2018.json'
'hthttps://raw.githubusercontent.com/betagouv/taux-collectifs-cotisation-atmp/master/taux-2019.json'
)
.then(response => {
if (!response.ok) {
@ -59,7 +59,11 @@ export default FormDecorator('select')(function Select(props) {
return (
<div className="select-answer">
<ReactSelectWrapper {...props} options={options} />
<ReactSelectWrapper
{...props}
options={options}
style={{ width: '500px', maxWidth: '100%' }}
/>
</div>
)
})