File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 25
25
"react-gravatar" : " ^2.3.0" ,
26
26
"react-page-click" : " ^2.0.0" ,
27
27
"react-redux" : " ^4.1.1" ,
28
- "react-router" : " ^1 .0.3 " ,
28
+ "react-router" : " ^2 .0.0-rc5 " ,
29
29
"react-router-redux" : " ^2.1.0" ,
30
30
"redux" : " ^3.1.2" ,
31
31
"redux-logger" : " ^2.4.0" ,
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import ReactDOM from 'react-dom' ;
3
- import createBrowserHistory from 'history/lib/createBrowserHistory ' ;
3
+ import { browserHistory } from 'react-router ' ;
4
4
import configureStore from './store' ;
5
5
import Root from './containers/root' ;
6
6
7
- const history = createBrowserHistory ( ) ;
8
- const store = configureStore ( history ) ;
7
+ const store = configureStore ( browserHistory ) ;
9
8
10
9
const target = document . getElementById ( 'main_container' ) ;
11
- const node = < Root routerHistory = { history } store = { store } /> ;
10
+ const node = < Root routerHistory = { browserHistory } store = { store } /> ;
12
11
13
12
ReactDOM . render ( node , target ) ;
You can’t perform that action at this time.
0 commit comments