Connect Redux to React help i'm stuck

Tell us what’s happening:

Your code so far


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

const mapStateToProps = (state) => {
  return {
    messages: state
  }
};

const mapDispatchToProps = (dispatch) => {
  return {
    submitNewMessage: (message) => {
      dispatch(addMessage(message));
    }
  }
};

class Presentational extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    return <h3>This is a Presentational Component</h3>
  }
};

const connect = ReactRedux.connect;
// change code below this line
const ConnectedComponent = connect(mapDispatchToProps, mapStateToProps)(Presentational)



class AppWrapper extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    return (
    <Provider store={store}>
      <Container/>
    </Provider>
    )
  }
};


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36.

Link to the challenge:

I think the issues is the order in your connect. Try having mapStateToProps be first then the dispatch.