Map Dispatch to Props

Tell us what’s happening:

Your code so far

const addMessage = (message) => {
  return {
    type: 'ADD',
    message: message

// change code below this line
return  {submitNewMessage : function(newMessage){

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/66.0.3359.139 Chrome/66.0.3359.139 Safari/537.36.

Link to the challenge:

What is your specific question?

Got it please ignore the post

You just forgot to add “function”.