The URL changes but component is not rendered when using React Router Dom v6 route in nested page of my react application
I have a main page with a sidebar and a content displaying area which will display the selected option. The problem occurs when I try to click on the Link in sidebar, it doesn’t changes anything in the content displaying division but URL changes. If I define the routes in App.js then Link works but… Read More The URL changes but component is not rendered when using React Router Dom v6 route in nested page of my react application