diff --git a/front/src/ToucanLine.js b/front/src/ToucanLine.js index 2d764339da530654d89d19317c2c028763a5e00d..1e91014677037c6aea8fb8076f13291126b40d14 100644 --- a/front/src/ToucanLine.js +++ b/front/src/ToucanLine.js @@ -2,7 +2,6 @@ import React, {Component} from 'react' import {Table, Image, Button} from 'semantic-ui-react' class ToucanLine extends Component { - mois = ["janvier", "février", "mars", "avril", "mai", "juin","juillet","août","septembre","octobre","novembre","décembre"] date(time){ const dateObject = new Date(time) const year = dateObject.getFullYear(); @@ -17,10 +16,9 @@ class ToucanLine extends Component { <Table.Cell > {console.log(this.props.toucan["_id"])} <a href={`http://localhost:8000/toucan/pdf/${this.props.toucan["_id"]}`}> - <img + <Image src={`/toucan/img/${this.props.toucan["_id"]}`} - style={{width: "50px"}} - alt="cover" + size="small" /> </a> </Table.Cell>