• Sam Chen's avatar
    chore: upgrade react-router-dom to v6 (#4143) · 2a7b1e7f
    Sam Chen authored
    * 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: default avatarVignesh Mohankumar <me@vig.xyz>
    2a7b1e7f
index.tsx 424 Bytes