I had an error with the ReactRouter6Adapter that kept telling me that the useNavigate() should be used inside a <Router> context.
I copied the Adapter to my project, changed the import from react-router to react-router-dom, and it started working again.
Leaving the PR in case it solves the same problem to someone else (and because we shouldn't be importing from react-router directly anyway).
I had an error with the
ReactRouter6Adapter
that kept telling me that theuseNavigate()
should be used inside a<Router> context
. I copied the Adapter to my project, changed the import fromreact-router
toreact-router-dom
, and it started working again. Leaving the PR in case it solves the same problem to someone else (and because we shouldn't be importing fromreact-router
directly anyway).