From e16a0c18c637395152fca06717cf2db33dbbd1a9 Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Tue, 4 Jun 2024 15:18:17 +0500 Subject: [PATCH] fix: update formatting --- src/learning-header/AuthenticatedUserDropdown.jsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/learning-header/AuthenticatedUserDropdown.jsx b/src/learning-header/AuthenticatedUserDropdown.jsx index 522c43d72..96725b026 100644 --- a/src/learning-header/AuthenticatedUserDropdown.jsx +++ b/src/learning-header/AuthenticatedUserDropdown.jsx @@ -26,13 +26,11 @@ const AuthenticatedUserDropdown = ({ intl, username, userProfileImage }) => { - { - userProfileImage && ( -
- {username} -
- ) - } + {userProfileImage && ( +
+ {username} +
+ )} {username}