Map Dispatch to Props - stuck, puzzled, confused

I’ve tried but my internal clock says stop and get some help now

Your code so far


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

// change code below this line
function mapDispatchToProps(dispatch) {
    return {
        submitNewMessage: addMessage = (m) => dispatch.message 
    }
}

Also tried


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

// change code below this line
function mapDispatchToProps(dispatch) {
    return {
        submitNewMessage: (m) => dispatch(m)
    }
}

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/react-and-redux/map-dispatch-to-props

Solution can be found in the next challenge