You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having this same issue as I have react-router-dom version 6.2.2 installed.. Are you able to paste your version of App.js to show the changes you had to make from Switch to make this work. I tried just changing Switch to Routes, but that wasn't enough to make this work.
Ended up changing the package.json file to "react-router-dom": "^5.2.3" and running npm install again instead of using version 6. This resolved my issue. I am now still using switch.
React router dom has been updated, replace switch as Routes
The text was updated successfully, but these errors were encountered: