set username and name on tittle and dropdown profile button

This commit is contained in:
Wikzyy
2025-04-28 13:35:12 +07:00
parent de0f4e594a
commit 86b3bf40e8
2 changed files with 2 additions and 2 deletions

View File

@ -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}