Skip to content

Commit

Permalink
update links
Browse files Browse the repository at this point in the history
  • Loading branch information
TanveerAhmed authored and TanveerAhmed committed Dec 6, 2023
1 parent 1eba2bd commit dae8cb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/learning-header/AuthenticatedUserDropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const AuthenticatedUserDropdown = ({ intl, username }) => {
/>
</Dropdown.Toggle>
<Dropdown.Menu className="dropdown-menu-right">
<a href="${getConfig().LMS_BASE_URL}/dashboard" className="pgn__dropdown-item dropdown-item h-desktop">My Courses</a>
<a href="${getConfig().LMS_BASE_URL}/dashboard" className="pgn__dropdown-item dropdown-item h-desktop">Discover</a>
<a href={`${getConfig().LMS_BASE_URL}/dashboard`} className="pgn__dropdown-item dropdown-item h-desktop">My Courses</a>
<a href={`${getConfig().LMS_BASE_URL}/courses`} className="pgn__dropdown-item dropdown-item h-desktop">Discover</a>
{dashboardMenuItem}
<Dropdown.Item href={`${getConfig().ACCOUNT_PROFILE_URL}/u/${username}`}>
{intl.formatMessage(messages.profile)}
Expand Down
4 changes: 2 additions & 2 deletions src/learning-header/LearningHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ const LearningHeader = ({
<span className="d-block org">{courseOrg}</span>
</div>
<div className="nav-course">
<a href="/dashboard">
<a href={`${getConfig().LMS_BASE_URL}/dashboard`}>
My Courses
</a>
</div>
<div className="nav-course">
<a href="/courses">
<a href={`${getConfig().LMS_BASE_URL}/courses`}>
Discover
</a>
</div>
Expand Down

0 comments on commit dae8cb6

Please sign in to comment.