Skip to content

Commit

Permalink
feat: avatar's background color will be random. (piyushgarg-dev#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
estd20xx committed Oct 7, 2023
1 parent 8ced3d1 commit dafad02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Dashboard/DashboardSidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const DashboardSidebar: React.FC = () => {
</div>
) : (
<>
<Avatar name={user ? user?.firstName +" "+ user?.lastName : ""} size='40' round="50%" className=' flex h-10 w-10 items-center justify-center rounded-full font-semibold text-white' />
<Avatar name={user ? user?.firstName + " " + user?.lastName : ""} size='40' round="50%" className=' flex h-10 w-10 items-center justify-center rounded-full font-semibold text-white' />
</>
)}
<p className="truncate">
Expand Down

0 comments on commit dafad02

Please sign in to comment.