set username and name on tittle and dropdown profile button
This commit is contained in:
@ -32,7 +32,7 @@ const HeaderTopbar = () => {
|
||||
<span
|
||||
className={`font-semibold text-lg leading-tight ${isSticky ? 'text-black' : 'text-white'}`}
|
||||
>
|
||||
{getAuth()?.user.username}
|
||||
{getAuth()?.user.name}
|
||||
</span>
|
||||
<span className={`text-xs ${isSticky ? 'text-gray-700' : 'text-white'}`}>
|
||||
as {getAuth()?.role_name}
|
||||
|
||||
Reference in New Issue
Block a user