Skip to content

Commit

Permalink
PRMP-1348 - fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abid-nhs committed Jan 24, 2025
1 parent 988a1ec commit ee26492
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions app/src/components/layout/navLinks/NavLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,20 @@ const NavLinks = () => {
];

return session.isLoggedIn ? (
<Header>
<Header.Nav className="">
{appLinks.map((l) => (
<Header.NavItem
tabIndex={0}
href="#"
key={l.href}
role="link"
data-testid={l.id}
onClick={(e) => nav(e, l.href)}
>
{l.label}
</Header.NavItem>
))}
</Header.Nav>
</Header>
<Header.Nav className="">
{appLinks.map((l) => (
<Header.NavItem
tabIndex={0}
href="#"
key={l.href}
role="link"
data-testid={l.id}
onClick={(e) => nav(e, l.href)}
>
{l.label}
</Header.NavItem>
))}
</Header.Nav>
) : null;
};

Expand Down

0 comments on commit ee26492

Please sign in to comment.