summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core/src/components/PJAXWrapper.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-core/src/components/PJAXWrapper.js')
-rw-r--r--packages/gitbook-core/src/components/PJAXWrapper.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-core/src/components/PJAXWrapper.js b/packages/gitbook-core/src/components/PJAXWrapper.js
index d2eb456..6ed0697 100644
--- a/packages/gitbook-core/src/components/PJAXWrapper.js
+++ b/packages/gitbook-core/src/components/PJAXWrapper.js
@@ -1,6 +1,6 @@
const React = require('react');
const ReactRedux = require('react-redux');
-const Navigation = require('../actions/navigation');
+const History = require('../actions/history');
/**
* Check if an element is inside a link
@@ -83,7 +83,7 @@ const PJAXWrapper = React.createClass({
}
event.preventDefault();
- dispatch(Navigation.push(href));
+ dispatch(History.push(href));
},
componentDidMount() {