chore: upgrade react-router-dom to v6 (#4143)
* chore: upgrade react-router-dom to v6
* migrate Redirect to Navigate
* use Routes instead of Switch
* migrate useHistory to useNavigate
* use To type
* use element
* work around activeClassName
* fix typing for useParams
* deduplicate
* fix Navigate
* add e2e tests
* visit /swap directly
Co-authored-by:
Vignesh Mohankumar <me@vig.xyz>
Showing
... | ... | @@ -177,7 +177,7 @@ |
"react-markdown": "^4.3.1", | ||
"react-popper": "^2.2.3", | ||
"react-redux": "^8.0.2", | ||
"react-router-dom": "^5.3.3", | ||
"react-router-dom": "^6.3.0", | ||
"react-spring": "^8.0.27", | ||
"react-use-gesture": "^6.0.14", | ||
"react-virtualized-auto-sizer": "^1.0.2", | ||
... | ... |
Please register or sign in to comment