Skip to content

Commit 8aa58e5

Browse files
committed
update
1 parent cb7534b commit 8aa58e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/pages/adminHome.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ const AdminHomePage = ({ users }) => {
1515
<table className="table">
1616
<thead>
1717
<tr>
18-
<th>Name</th>
19-
<th>Email</th>
20-
<th>Phone</th>
18+
<th>Username</th>
19+
<th>First Name</th>
20+
<th>Last Name</th>
2121
</tr>
2222
</thead>
2323
<tbody>
2424
{users.map((user) => (
2525
<tr key={user.id}>
26-
<td>{user.name}</td>
27-
<td>{user.email}</td>
28-
<td>{user.phone}</td>
26+
<td>{user.username}</td>
27+
<td>{user.fname}</td>
28+
<td>{user.lname}</td>
2929
</tr>
3030
))}
3131
</tbody>

0 commit comments

Comments
 (0)