Hi, I just noted that in the function actions/index.js you have specified a onFailure function equal to console.log("Error occured loading articles") , I suppose what you meant there is an arrow function like this ? : () => { console.log("Error occured loading articles"); } So that IF there is an error that lambda function is called.
Really nice tutorial, it helped me a lot!
Best, Phil
Hi, I just noted that in the function
actions/index.js
you have specified a onFailure function equal toconsole.log("Error occured loading articles")
, I suppose what you meant there is an arrow function like this ? :() => { console.log("Error occured loading articles"); }
So that IF there is an error that lambda function is called. Really nice tutorial, it helped me a lot! Best, Phil