diff options
author | Joseph Ditton <jditton.atomic@gmail.com> | 2021-12-04 21:19:54 -0700 |
---|---|---|
committer | Joseph Ditton <jditton.atomic@gmail.com> | 2021-12-04 21:19:54 -0700 |
commit | 8ca1046bf3c049f3cc135ed383a23bd3490c4f01 (patch) | |
tree | 605d516a939205846e36fa58a209fbeae242a631 /client/components/admin/_admin.jsx | |
parent | a37604fedd06e359d9bb5f70c77248d0ae460c67 (diff) | |
download | locchat-8ca1046bf3c049f3cc135ed383a23bd3490c4f01.tar.gz locchat-8ca1046bf3c049f3cc135ed383a23bd3490c4f01.zip |
corrects name attribute on client
Diffstat (limited to 'client/components/admin/_admin.jsx')
-rw-r--r-- | client/components/admin/_admin.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/components/admin/_admin.jsx b/client/components/admin/_admin.jsx index aff544c..1c37e44 100644 --- a/client/components/admin/_admin.jsx +++ b/client/components/admin/_admin.jsx @@ -14,7 +14,9 @@ export const Admin = () => { <div className="p-4"> <h2 className="text-3xl">Users</h2> {users.map((user) => ( - <div>{user.name}</div> + <div key={user.id}> + {user.firstName} {user.lastName} + </div> ))} </div> ); |