TypeError: Cannot read property 'getCurrentLocation' of undefined
createTransitionManager
C:/Users/fabricio.covalesci_B/Documents/Cursos Alura/React I/cdc-admin/node_modules/react-router/es/Router.js:87
Boa tarde pessoal, fiz como esta no video e aparece um erro ao inicia projeto , apos inserir as rotas:
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
import { Router, Route} from 'react-router';
ReactDOM.render(
(<Router>
<Route path="/" component={App}/>
<Route path="/autor"/>
<Route path="/livro"/>
</Router>),
document.getElementById('root'),
serviceWorker.unregister();
);
Meu projeto está assim e mostra o erro acima.