Импорт с проживанием
import { withRouter } from 'react-router-dom';
Run time Terror
import { withRouter } from 'react-router-dom';