I am new to react and react-router. I have a sidebar that has a route link to store information details.
// Sidebar Link
<NavLink to=“/store/information/details”>Information</NavLink>
Inside store information details container has a button link route to edit store information that looks like this
// Link to Edit Information
<NavLink to=“/store/information/edit”>Edit Information</NavLink>
The problem is I want the sidebar link information to stay active when navigating to edit store information container. When I am inside edit store information container the active class is removed.