function postsFetchDataSuccess(posts) {
  return {
    type: 'POSTS_FETCH_DATA_SUCCESS',
    posts,
  };
}
// Action for When Data Fecth is Successful
Action for When Data Fecth is Successful
Action for When Data Fecth is Successful
function postsFetchDataSuccess(posts) {
  return {
    type: 'POSTS_FETCH_DATA_SUCCESS',
    posts,
  };
}
function postsFetchDataSuccess ( posts ) { return { type : 'POSTS_FETCH_DATA_SUCCESS' , posts , } ; }
Action for When Data Fecth is Successful
Action for When Data Fecth is Successful