Home > Enterprise >  react router dom not working when changing the path
react router dom not working when changing the path

Time:05-19

I am trying to use the router in react but I get nothing when changing the path, you can check the code here enter image description here

And then delete the second router inside of Layout.

enter image description here

More info here: Error: useHref() may be used only in the context of a <Router> component. It works when I directly put the url as localhost:3000/experiences

  • Related