No meu arquivo index.js te,m o seguinte codigo
import React from 'react';
import ReactDOM from 'react-dom';
import './css/reset.css';
import './css/timeline.css';
import './css/login.css'
import App from './App';
import Login from './componentes/Login'
import {Router,Route,browserHistory} from 'react-router';
ReactDOM.render(
(
<Router history={browserHistory}>
<Route path="/" component={Login}/>
<Route path="/timeline" component={App} />
</Router>
),
document.getElementById('root')
);
o no console do meu navegador apresenta o seguinte erro:
warning.js:36 Warning: Failed prop type: The prop history
is marked as required in Router
, but its value is undefined
.
in Router (at index.js:15)