function mapStateToProps ({posts}) {
  return {
    posts: Object.keys(posts.posts).map(key => posts.posts[key])
  }
}
/**
 * @description Specify which data from the store you want passed to your React component
 * @param {Object} posts
 * @return {Object}
 */
@description Specify which data from the store you want passed to your React component
@param {Object} posts
@return {Object}
@description Specify which data from the store you want passed to your React component @param { Object } posts @return { Object }
function mapStateToProps ({posts}) {
  return {
    posts: Object.keys(posts.posts).map(key => posts.posts[key])
  }
}
function mapStateToProps ( { posts } ) { return { posts : Object . keys ( posts . posts ) . map ( key => posts . posts [ key ] ) } }
@description Specify which data from the store you want passed to your React component
 @param {Object} posts
 @return {Object}
@description Specify which data from the store you want passed to your React component @param { Object } posts @return { Object }