Skip to content

Commit

Permalink
fix: update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faraz Maqsood authored and Faraz32123 committed Jun 4, 2024
1 parent 3378d1c commit e16a0c1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/learning-header/AuthenticatedUserDropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ const AuthenticatedUserDropdown = ({ intl, username, userProfileImage }) => {
<Dropdown className="user-dropdown ml-3">
<Dropdown.Toggle variant="none" className="user-dropdown-toggle" id="userProfileDropDown">
<FontAwesomeIcon icon={faUserCircle} className="d-none" size="lg" />
{
userProfileImage && (
<div className="user-profile mr-3">
<Image src={userProfileImage} fluid alt={username} />
</div>
)
}
{userProfileImage && (
<div className="user-profile mr-3">
<Image src={userProfileImage} fluid alt={username} />
</div>
)}
<span data-hj-suppress className="d-none d-md-inline">
{username}
</span>
Expand Down

0 comments on commit e16a0c1

Please sign in to comment.