summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-hints
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-hints')
-rw-r--r--packages/gitbook-plugin-hints/src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-plugin-hints/src/index.js b/packages/gitbook-plugin-hints/src/index.js
index 2356995..be29f1b 100644
--- a/packages/gitbook-plugin-hints/src/index.js
+++ b/packages/gitbook-plugin-hints/src/index.js
@@ -34,7 +34,7 @@ const HintAlert = React.createClass({
});
module.exports = GitBook.createPlugin({
- init: (dispatch, getState, { Components }) => {
+ activate: (dispatch, getState, { Components }) => {
dispatch(Components.registerComponent(HintAlert, { role: 'block:hint' }));
}
});