client/modules/ManageNews/components/Edit/Edit.js
// Retrieve data from store as props
Retrieve data from store as props
Retrieve data from store as props
function mapStateToProps(state) {
  return {
    id: getId(state),
    categories: getCategories(state),
    cities: getCities(state),
    districts: getDistricts(state),
    wards: getWards(state),
  };
}
function mapStateToProps ( state ) { return { id : getId ( state ) , categories : getCategories ( state ) , cities : getCities ( state ) , districts : getDistricts ( state ) , wards : getWards ( state ) , } ; }
Retrieve data from store as props
Retrieve data from store as props