Hi @amejl172,
The instructions say: This function should take state as an argument, then return an object which maps that state to specific property names.
In your code: function mapStateToProps() {
}
You need to pass the state as an argument to the function: function mapStateToProps(state) {
}.
The next part of the function needs to return an object and have a property called messages passing state as the value
e.g. return {
messages: state
}