mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 10:03:31 +00:00
12 lines
298 B
JavaScript
12 lines
298 B
JavaScript
const GitBook = require('gitbook-core');
|
|
|
|
module.exports = GitBook.createPlugin({
|
|
activate: (dispatch, getState) => {
|
|
// Dispatch initialization actions
|
|
},
|
|
deactivate: (dispatch, getState) => {
|
|
// Dispatch cleanup actions
|
|
},
|
|
reduce: (state, action) => state
|
|
});
|