contructeur classes, type DTO dans TS, clean hard code
This commit is contained in:
@@ -72,7 +72,7 @@ function AthleteList({ athletes, sessions }: AthleteListProps) {
|
||||
return (
|
||||
<li key={a.id}>
|
||||
<div><strong>Nom:</strong> {a.nom}</div>
|
||||
<div><strong>Groupe:</strong> {a.groupe}</div>
|
||||
<div><strong>Groupe:</strong> {a.groupes}</div>
|
||||
<div><strong>Nombre de sessions:</strong> {stats.nbSessions}</div>
|
||||
<div><strong>Sessions/semaine:</strong> {stats.nbSessionsPerWeek.toFixed(2)}</div>
|
||||
<div><strong>Alerte:</strong> {alerte}</div>
|
||||
|
||||
Reference in New Issue
Block a user