living-lavenderL
Refine3y ago
27 replies
living-lavender

useLocation may be used only in the context of a <Router> component error

Hi, I migrated my app to 4.x.x version. But I can't run it. There is always this error shows up.

My app.tsx file is in attachment.
image.png
App.tsx12.3KB
Was this page helpful?