Files
2019-05-09 18:57:06 +05:30

256 B

title
title
Map State to Props

Map State to Props

Solution

Spoiler!
const state = [];

// change code below this line
const mapStateToProps = (state)=>{
  return {
    messages: state
  }
}