From b1269b67a7d27dcc3af604049c1fe1e0c216a365 Mon Sep 17 00:00:00 2001 From: RahatAli Date: Mon, 20 Nov 2023 18:30:16 +0500 Subject: [PATCH] Linter Fixes --- src/Icons.jsx | 24 +++++++++---------- .../AuthenticatedUserDropdown.jsx | 10 ++++---- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/Icons.jsx b/src/Icons.jsx index cc4ddc6a5..c61ebb9d7 100644 --- a/src/Icons.jsx +++ b/src/Icons.jsx @@ -57,9 +57,9 @@ export const DashboardIcon = (props) => ( ); @@ -75,9 +75,9 @@ export const ProfileIcon = (props) => ( > ); @@ -94,9 +94,9 @@ export const AccountIcon = (props) => ( ); @@ -113,9 +113,9 @@ export const LogoutIcon = (props) => ( ); diff --git a/src/learning-header/AuthenticatedUserDropdown.jsx b/src/learning-header/AuthenticatedUserDropdown.jsx index 9e9461954..fec742e12 100644 --- a/src/learning-header/AuthenticatedUserDropdown.jsx +++ b/src/learning-header/AuthenticatedUserDropdown.jsx @@ -6,7 +6,9 @@ import { faUserCircle } from '@fortawesome/free-solid-svg-icons'; import { getConfig } from '@edx/frontend-platform'; import { injectIntl, intlShape } from '@edx/frontend-platform/i18n'; import { Dropdown } from '@edx/paragon'; -import { ProfileIcon, LogoutIcon, AccountIcon, DashboardIcon } from '../Icons'; +import { + ProfileIcon, LogoutIcon, AccountIcon, DashboardIcon +} from '../Icons'; import messages from './messages'; @@ -31,11 +33,11 @@ const AuthenticatedUserDropdown = ({ intl, username }) => { {dashboardMenuItem} - + {intl.formatMessage(messages.profile)} - + {intl.formatMessage(messages.account)} { getConfig().ORDER_HISTORY_URL && ( @@ -44,7 +46,7 @@ const AuthenticatedUserDropdown = ({ intl, username }) => { )} - + {intl.formatMessage(messages.signOut)}