summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core/src/lib/createContext.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-core/src/lib/createContext.js')
-rw-r--r--packages/gitbook-core/src/lib/createContext.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/gitbook-core/src/lib/createContext.js b/packages/gitbook-core/src/lib/createContext.js
index ba0c7e1..d4e1fca 100644
--- a/packages/gitbook-core/src/lib/createContext.js
+++ b/packages/gitbook-core/src/lib/createContext.js
@@ -8,6 +8,7 @@ const coreReducers = require('../reducers');
const composeReducer = require('./composeReducer');
const Components = require('../actions/components');
+const Api = require('../actions/api');
const I18n = require('../actions/i18n');
const History = require('../actions/history');
@@ -21,7 +22,7 @@ const isBrowser = (typeof window !== 'undefined');
const corePlugin = new Plugin({
reduce: coreReducers,
actions: {
- Components, I18n, History
+ Components, I18n, History, Api
}
});