Skip to content

Commit

Permalink
Merge pull request #5482 from dfe-analytical-services/EES-5656_Releas…
Browse files Browse the repository at this point in the history
…eOrder_NavLink_Change

🐛 EES-5656 Only apply active class for navigation links if the location is matched exactly
  • Loading branch information
benoutram authored Jan 6, 2025
2 parents c928dcd + 0804b06 commit 8767f1f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const NavLink = ({ children, className, to, ...props }: Props) => {
'govuk-link--no-visited-state',
className,
)}
exact
>
{children}
</RouterNavLink>
Expand Down

0 comments on commit 8767f1f

Please sign in to comment.