Skip to content

Commit

Permalink
chore(react): fix user icon inconsistency in user dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Oct 2, 2024
1 parent 824b965 commit a01ea1e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ const UserDropdownMenu: FC<UserDropdownMenuProps> & WithWrapperProps = (
onClick={(): void => handleUserProfileNavigation()}
>
<ListItemAvatar>
<Avatar src={user?.image} alt="User" />
<Avatar src={user?.image} alt="User">
{user?.name?.split('')[0]}
</Avatar>
</ListItemAvatar>
<ListItemText primary={user?.name} secondary={user?.email} />
</ListItem>
Expand Down

0 comments on commit a01ea1e

Please sign in to comment.