diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-03 10:35:24 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-03 10:35:24 +0200 |
commit | 34eb35699d951783837faf026a60abadc888a010 (patch) | |
tree | 6cc3f941ca76b7f32329f6c110fe45374d7dfc99 /packages/gitbook-plugin-hints | |
parent | 3ae72bb47c146212d40fc74d857880fa0616ae57 (diff) | |
download | gitbook-34eb35699d951783837faf026a60abadc888a010.zip gitbook-34eb35699d951783837faf026a60abadc888a010.tar.gz gitbook-34eb35699d951783837faf026a60abadc888a010.tar.bz2 |
Change "init to "activate"
Diffstat (limited to 'packages/gitbook-plugin-hints')
-rw-r--r-- | packages/gitbook-plugin-hints/src/index.js | 2 |
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' })); } }); |