We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf53de commit e3a4186Copy full SHA for e3a4186
src/parse-interface-guide/routes.js
@@ -5,13 +5,12 @@
5
* This source code is licensed under the license found in the LICENSE file in
6
* the root directory of this source tree.
7
*/
8
-import createHashHistory from 'history/lib/createHashHistory';
9
import PIG from 'parse-interface-guide/PIG.react';
10
import React from 'react';
11
-import { Router, Route } from 'react-router';
+import { browserHistory, Router, Route } from 'react-router';
12
13
module.exports = (
14
-<Router history={createHashHistory()}>
+<Router history={browserHistory}>
15
<Route path='/' component={PIG} />
16
<Route path='/:component' component={PIG} />
17
</Router>
0 commit comments