update src/views/Dashboard/layouts/SidebarMenu/index.js

temp
mahdi 2 years ago
parent 7746f99f80
commit 7821e04157
  1. 4
      src/views/Dashboard/layouts/SidebarMenu/index.js

@ -152,9 +152,7 @@ const SidebarMenu = ({
<div className="flex flex-row items-center mb-10">
<Avatar size={60} rounded={true} />
<p className="text-green7B font-bold text-base flex-1 mx-2">
{`${user.firstName === null ? user.firstName : " "}` +
" " +
user.lastName}
{user.firstName === null ? "" : user.firstName + " " + user.lastName}
</p>
</div>
<Dropdown

Loading…
Cancel
Save