Closed jere-mie closed 1 year ago
The home link should only be highlighted when on the homepage
No matter what page you're on, the link is highlighted in the navbar
I believe that this is happening because the nav bar uses react router. React router matches based on regex and home is at /.
/
that's kinda dumb ngl but makes sense
Expected Behaviour
The home link should only be highlighted when on the homepage
Actual Behaviour
No matter what page you're on, the link is highlighted in the navbar
Steps to Reproduce
Navigate to any page other than the homepage and look at the navbar