summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-theme-default/src')
-rw-r--r--packages/gitbook-plugin-theme-default/src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/index.js b/packages/gitbook-plugin-theme-default/src/index.js
index a07901c..c391908 100644
--- a/packages/gitbook-plugin-theme-default/src/index.js
+++ b/packages/gitbook-plugin-theme-default/src/index.js
@@ -6,7 +6,7 @@ const locales = require('./i18n');
module.exports = GitBook.createPlugin({
- init: (dispatch, state, { Components, I18n }) => {
+ activate: (dispatch, state, { Components, I18n }) => {
dispatch(Components.registerComponent(Theme, { role: 'Body' }));
dispatch(I18n.registerLocales(locales));
},