From 24f1484dec86425552e17f08b35249784d8b9cbf Mon Sep 17 00:00:00 2001 From: clverdoire Date: Thu, 17 Nov 2022 11:38:45 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9solution=20pb=20page=20repertoire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Repertoire.js | 103 ++++++++++++++++++++++++---------------- 1 file changed, 62 insertions(+), 41 deletions(-) diff --git a/src/pages/Repertoire.js b/src/pages/Repertoire.js index fa9e4e1..5b98456 100644 --- a/src/pages/Repertoire.js +++ b/src/pages/Repertoire.js @@ -34,52 +34,73 @@ function Repertoire() { }, []); return ( -
+ + + - {/* Create a page to delete an user in the admin page*/} - -
-

Admin

-

Liste des utilisateurs

-
-
- - - - + +
+ {/* Create an account page */} +
+

Repertoire

+
+
+ + + + +
+ +
+
+
+ +
+
+

Repertoire

+

Liste des utilisateurs

+
+
+ + + + +
+ + + + + Nom + Prénom + Identifiant + Téléphone + + + + {contacts.map((contact) => ( + handleClick(event, contact.idcontact)} + // selected={contact.idcontact === selectedIdcontact} + > + {contact.lastname} + {contact.firstname} + {contact.phone} + {contact.mail} + + ))} + +
+
+
+
- - - - - Nom - Prénom - Identifiant - Téléphone - - - - {contacts.map((contact) => ( - handleClick(event, contact.idcontact)} - // selected={contact.idcontact === selectedIdcontact} - > - {contact.lastname} - {contact.firstname} - {contact.phone} - {contact.mail} - - ))} - -
-
-
+ ); -} +}; // function Repertoire() {