Rename boundActionCreators to actions

This commit is contained in:
ValeraS
2018-09-11 16:14:31 +03:00
committed by Mrugesh Mohapatra
parent c4cfe0b1d6
commit 706a9f19df
2 changed files with 6 additions and 6 deletions

View File

@@ -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;