diff --git a/front-end/src/Pages/Profile.jsx b/front-end/src/Pages/Profile.jsx index c3810ed..bb4aef7 100644 --- a/front-end/src/Pages/Profile.jsx +++ b/front-end/src/Pages/Profile.jsx @@ -43,7 +43,7 @@ function Profile() {

User Details

Email:

{loggedInUser.email}

-

User Role:

{loggedInUser.appUserRole}

+

User Role:

{loggedInUser.userRole}

diff --git a/front-end/src/components/Header.jsx b/front-end/src/components/Header.jsx index 5e2e5de..94ab3de 100644 --- a/front-end/src/components/Header.jsx +++ b/front-end/src/components/Header.jsx @@ -297,7 +297,7 @@ function closeOnClickOutside(selector, toggleClass) { )} {/* Display user name */} -

{loggedInUser.name} {loggedInUser.lastName}

+

{loggedInUser.firstName} {loggedInUser.lastName}