Skip to content

Commit

Permalink
fix(Navbar): fix Support Center link
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeaturner committed Jul 1, 2024
1 parent 3e08ec4 commit e259fc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/navigation/SwitchAppWithUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ const SwitchAppWithUser: React.FC<SwitchAppWithUserProps> = ({
if (user.isAuthenticated) {
return (
<>
{isSupportStaff(user) && parent === "conductor" && (
{parent === "conductor" && (
<Menu.Item
as={Link}
to="/support/dashboard"
as="a"
href={`https://commons.libretexts.org/support${isSupportStaff(user) ? "/dashboard" : ""}`}
className="commons-nav-link"
aria-label="Support Center"
>
Expand Down

0 comments on commit e259fc0

Please sign in to comment.