mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
CurrentUser uses firstName instead of displayName
This commit is contained in:
parent
a2bac38579
commit
b0890c1eae
3 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ const TopbarMobileMenu = props => {
|
|||
? <NotificationBadge className={css.notificationBadge} count={notificationCount} />
|
||||
: null;
|
||||
|
||||
const displayName = user.attributes.profile.displayName;
|
||||
const displayName = user.attributes.profile.firstName;
|
||||
const currentPageClass = page => {
|
||||
return currentPage === page ? css.currentPageLink : null;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ export const AuthenticationPageComponent = props => {
|
|||
</div>
|
||||
);
|
||||
|
||||
const name = user.attributes.profile.displayName;
|
||||
const name = user.attributes.profile.firstName;
|
||||
const email = <span className={css.email}>{user.attributes.email}</span>;
|
||||
|
||||
const resendEmailLink = (
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ const EmailVerificationFormComponent = props => {
|
|||
} = props;
|
||||
|
||||
const email = <strong>{currentUser.attributes.email}</strong>;
|
||||
const name = currentUser.attributes.profile.displayName;
|
||||
const name = currentUser.attributes.profile.firstName;
|
||||
|
||||
const errorMessage = (
|
||||
<div className={css.error}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue