Skip to content

Commit

Permalink
EES-5656 Only apply active class if the location is matched exactly
Browse files Browse the repository at this point in the history
  • Loading branch information
benoutram committed Dec 20, 2024
1 parent 2f093cc commit 0804b06
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 0804b06

Please sign in to comment.