From 8ca1046bf3c049f3cc135ed383a23bd3490c4f01 Mon Sep 17 00:00:00 2001 From: Joseph Ditton Date: Sat, 4 Dec 2021 21:19:54 -0700 Subject: [PATCH] corrects name attribute on client --- client/components/admin/_admin.jsx | 4 +++- client/components/home/_home.jsx | 2 +- 2 files changed, 4 insertions(+), 2 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 = () => {

Users

{users.map((user) => ( -
{user.name}
+
+ {user.firstName} {user.lastName} +
))}
); diff --git a/client/components/home/_home.jsx b/client/components/home/_home.jsx index 7ec9335..4b1ab46 100644 --- a/client/components/home/_home.jsx +++ b/client/components/home/_home.jsx @@ -33,7 +33,7 @@ export const Home = () => { return (
-

Welcome {user.name}

+

Welcome {user.firstName}