set username and name on tittle and dropdown profile button
This commit is contained in:
@ -32,7 +32,7 @@ const HeaderTopbar = () => {
|
|||||||
<span
|
<span
|
||||||
className={`font-semibold text-lg leading-tight ${isSticky ? 'text-black' : 'text-white'}`}
|
className={`font-semibold text-lg leading-tight ${isSticky ? 'text-black' : 'text-white'}`}
|
||||||
>
|
>
|
||||||
{getAuth()?.user.username}
|
{getAuth()?.user.name}
|
||||||
</span>
|
</span>
|
||||||
<span className={`text-xs ${isSticky ? 'text-gray-700' : 'text-white'}`}>
|
<span className={`text-xs ${isSticky ? 'text-gray-700' : 'text-white'}`}>
|
||||||
as {getAuth()?.role_name}
|
as {getAuth()?.role_name}
|
||||||
|
|||||||
@ -45,7 +45,7 @@ const DropdownUser = ({ menuItemRef }: IDropdownUserProps) => {
|
|||||||
alt=""
|
alt=""
|
||||||
/> */}
|
/> */}
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
<p className="text-[14px] text-gray-800 font-semibold">{auth?.user.name}</p>
|
<p className="text-[14px] text-gray-800 font-semibold">{auth?.user.username}</p>
|
||||||
<p className="text-xs text-gray-600 hover:text-primary font-medium leading-none">
|
<p className="text-xs text-gray-600 hover:text-primary font-medium leading-none">
|
||||||
{auth?.user.email}
|
{auth?.user.email}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user