diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-05 14:22:01 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-05 14:22:01 +0200 |
commit | 805886e4a96bc543f39052f1d715c71bb76eee76 (patch) | |
tree | c4b0b2c468f389bac2516031bf8ba7dea7d81878 /packages/gitbook-core/src/lib/createContext.js | |
parent | 83c98cf4d88a62accda76193b478d97360bd405a (diff) | |
download | gitbook-805886e4a96bc543f39052f1d715c71bb76eee76.zip gitbook-805886e4a96bc543f39052f1d715c71bb76eee76.tar.gz gitbook-805886e4a96bc543f39052f1d715c71bb76eee76.tar.bz2 |
We trigger current url history only once the page has been mounted
Diffstat (limited to 'packages/gitbook-core/src/lib/createContext.js')
-rw-r--r-- | packages/gitbook-core/src/lib/createContext.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/gitbook-core/src/lib/createContext.js b/packages/gitbook-core/src/lib/createContext.js index c88baad..87593e3 100644 --- a/packages/gitbook-core/src/lib/createContext.js +++ b/packages/gitbook-core/src/lib/createContext.js @@ -19,12 +19,6 @@ const isBrowser = (typeof window !== 'undefined'); * @type {Plugin} */ const corePlugin = new Plugin({ - activate: (dispatch) => { - dispatch(Navigation.activate()); - }, - deactivate: (dispatch) => { - dispatch(Navigation.deactivate()); - }, reduce: coreReducers, actions: { Components, I18n, Navigation |