loginforms
loginforms copied to clipboard
[Deprecated] 'Switch' is not exported from 'react-router-dom'
Deprecated
Switch
Redirect
withRouter
etc ... in react-router-dom are deprecated from v6
Log
ERROR in ./src/components/RegistrationForm/RegistrationForm.js 223:21-31
export 'withRouter' (imported as 'withRouter') was not found in 'react-router-dom' (possible exports:
//...
ScreenShot
![deprecated_withRouter](https://user-images.githubusercontent.com/48945177/155270343-af692fae-f1f8-414f-885a-cad3d6c4cd3c.png)