Html – NavLink Active not working for nested routes
I am trying to make my nested route tab active when first displayed but it does not become active unless clicked. If I change anything the parent route becomes inactive. App.js <Route path="account" element={<Account />}> <Route index element={<Profile />} />…