Closed yavorpunchev closed 5 years ago
Hi @vacas5 👋Thanks for creating an awesome plugin. I was playing around with it this morning and noticed there was a warning being output in the console (when used locally, you don't see it if you install from npm):
boundActionCreators is deprecated. Please use actions instead. For migration instructions, see https://gatsby.dev/boundActionCreators
boundActionCreators
actions
I've updated boundActionCreators as per the instructions in the Gatsby docs.
I've also swapped the console.log with console.error and made quotes consistent. Hope you find this PR useful!
console.log
console.error
looks good. Sorry it took me so long
Hi @vacas5 👋Thanks for creating an awesome plugin. I was playing around with it this morning and noticed there was a warning being output in the console (when used locally, you don't see it if you install from npm):
I've updated
boundActionCreators
as per the instructions in the Gatsby docs.I've also swapped the
console.log
withconsole.error
and made quotes consistent. Hope you find this PR useful!