diff --git a/front_end/src/components/ressourceList.tsx b/front_end/src/components/ressourceList.tsx index b398a54..66e767f 100644 --- a/front_end/src/components/ressourceList.tsx +++ b/front_end/src/components/ressourceList.tsx @@ -1,4 +1,3 @@ -import ListGroup from "react-bootstrap/ListGroup"; import { Athlete, Activite } from "../classes"; type Props = { @@ -9,26 +8,22 @@ type Props = { function AthleteList({ athletes }: Props) { return ( - + {athletes.map((athlete) => ( - - - Nom: {athlete.nom} - - - Groupe: {athlete.groupe} - - + + Nom: {athlete.nom} + Groupe: {athlete.groupe} + ))} - + ); } function ActiviteList({ activites }: Props) { return ( - + {activites.map((activite) => ( - + Nom: {activite.nom} @@ -38,9 +33,9 @@ function ActiviteList({ activites }: Props) { Durée: {activite.duree} minutes - + ))} - + ); }