🚀 version 1.1

This commit is contained in:
eric committed 2022-12-11 22:05:29 +01:00
1 parent a3b0c85678
commit caffe2c1b8
2 files changed
+36 -21

No files matched your search

+2 -3
View File
@@ -148,6 +148,7 @@ const MonCompte = (props: Props) => {
<div className="container align-items-center d-flex flex-column">
<div className={`${style['bloc-content']} col-12 col-md-12`}>
<div className="row">
<p>Vous avez été séléctionner pour gagner 1 an de thé !</p>
<div className="col-md-6 col-sm-12">
<hr />
<h1 className="fw-light">Mes informations <TfiInfoAlt size={40} /></h1>
@@ -223,9 +224,7 @@ const MonCompte = (props: Props) => {
</thead>
<tbody>
{props.userGains.map((info: any, index: number) => {
console.log('ii', info);
return <tr>
return <tr key={index}>
<th scope="row">{++index}</th>
<td>{info.codeCadeau}</td>
<td>{info.produit.nomProduit}</td>