Skip to content

Commit 2c9da74

Browse files
committed
Fixed default BrowserHistory demo
1 parent 591beb1 commit 2c9da74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import 'moment/locale/zh-cn';
33
import './polyfill';
44
import './g2';
55
import './raven';
6-
// import { browserHistory } from 'dva/router';
6+
// import browserHistory from 'history/createBrowserHistory';
77
import './index.less';
88

99
// 1. Initialize
1010
const app = dva({
11-
// history: browserHistory,
11+
// history: browserHistory(),
1212
});
1313

1414
// 2. Plugins

0 commit comments

Comments
 (0)