Skip to content

use NavLink instead of Link to avoid using active class#4

Open
cukhoaimon wants to merge 1 commit intotruethari:masterfrom
cukhoaimon:master
Open

use NavLink instead of Link to avoid using active class#4
cukhoaimon wants to merge 1 commit intotruethari:masterfrom
cukhoaimon:master

Conversation

@cukhoaimon
Copy link

@cukhoaimon cukhoaimon commented Sep 17, 2023

I was change your <Link> to <NavLink> component from React to automatically handle ".active" class instead of handle it by using template literals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant