name + surname -> username

This commit is contained in:
VividTruthKeeper 2022-03-23 21:46:55 +03:00
parent 3eab716b6f
commit 95ff39bc76
1 changed files with 2 additions and 2 deletions

View File

@ -133,8 +133,8 @@ const LoggedNav = ({ setSideOpen }) => {
</div>
<h4>
{user ? (
user.name ? (
`${user.name} ${user.surname}`
user.username ? (
`${user.username}`
) : (
<Loader />
)