File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 64
64
"express" : " ^4.13.0" ,
65
65
"express-session" : " ^1.11.3" ,
66
66
"file-loader" : " ^0.8.4" ,
67
- "history" : " ^1.8.4" ,
68
67
"http-proxy" : " ^1.11.1" ,
69
68
"lru-memoize" : " 0.0.2" ,
70
69
"map-props" : " ^0.1.1" ,
75
74
"react-document-meta" : " ^0.1.4" ,
76
75
"react-inline-css" : " 1.2.1" ,
77
76
"react-redux" : " ^2.0.0" ,
78
- "react-router" : " v1.0.0-beta3 " ,
77
+ "react-router" : " v1.0.0-beta2 " ,
79
78
"redux" : " ^2.0.0" ,
80
79
"redux-form" : " ^1.2.1" ,
81
80
"serialize-javascript" : " ^1.0.0" ,
Original file line number Diff line number Diff line change 3
3
*/
4
4
import 'babel/polyfill' ;
5
5
import React from 'react' ;
6
- import createHistory from 'history /lib/createBrowserHistory ' ;
6
+ import BrowserHistory from 'react-router /lib/BrowserHistory ' ;
7
7
import Location from 'react-router/lib/Location' ;
8
8
import queryString from 'query-string' ;
9
9
import createStore from './redux/create' ;
10
10
import ApiClient from './ApiClient' ;
11
11
import universalRouter from './universalRouter' ;
12
- const history = createHistory ( ) ;
12
+ const history = new BrowserHistory ( ) ;
13
13
const client = new ApiClient ( ) ;
14
14
15
15
const dest = document . getElementById ( 'content' ) ;
You can’t perform that action at this time.
0 commit comments