Problem with Extract State Logic to Redux

I tried do define the action with:

const addMessage=(message)=>{

and it didn’t work, it had to do:

function addMessage(message).

I wonder, is it a glitch or an actual thing?

I moved your question to its own topic because you were asking a question related to your own code for a challenge and were not answering the OP of the other thread. It is always best to create your own thread for you specific question(s). Also, it is advisable to use the Ask for Help button on the challenge, so it auto-populates with your current code and the challenge url.

Thank you.

please remove the post

Did you solve your problem with the challenge?