Rename boundActionCreators to actions
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
c4cfe0b1d6
commit
706a9f19df
@@ -1,7 +1,7 @@
|
||||
const chokidar = require('chokidar');
|
||||
const { createChallengeNodes } = require('./create-Challenge-nodes');
|
||||
|
||||
exports.sourceNodes = ({ boundActionCreators, reporter }, pluginOptions) => {
|
||||
exports.sourceNodes = ({ actions, reporter }, pluginOptions) => {
|
||||
|
||||
if (typeof pluginOptions.source !== 'function') {
|
||||
reporter.panic(`
|
||||
@@ -10,7 +10,7 @@ that delivers challenge files to the plugin
|
||||
`);
|
||||
}
|
||||
// TODO: Add live seed updates
|
||||
const { createNode } = boundActionCreators;
|
||||
const { createNode } = actions;
|
||||
|
||||
let ready = false;
|
||||
|
||||
|
Reference in New Issue
Block a user