Skip to content

Commit 4678d10

Browse files
committed
switched to browser history
1 parent a144852 commit 4678d10

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/app.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
import * as React from 'react';
33
import * as ReactDOM from 'react-dom';
44
import { Provider } from 'react-redux';
5-
import { Router, Route, hashHistory } from 'react-router';
5+
import { Router, Route, browserHistory } from 'react-router';
66
import { syncHistoryWithStore } from 'react-router-redux';
77
// app imports
88
import { MainLayout } from './layouts/main-layout';
99
import { HomeContainer } from './containers/home-container/index';
1010
import { CssModulesContainer } from './containers/css-modules-container/index';
11+
import NotFoundContainer from './containers/not-found/index';
1112
import CurrencyConverterContainer from './containers/currency-converter-container/index';
1213

1314
import { store } from './store/index';
14-
const history = syncHistoryWithStore(hashHistory, store) as any;
15+
const history = syncHistoryWithStore(browserHistory, store) as any;
1516

1617
function App() {
1718
return (

0 commit comments

Comments
 (0)