exploreTypes.js 341 B

1234567891011121314
  1. export const actionClearExplorePostsType = () => ({
  2. type: 'CLEAR_EXPLORE_POSTS',
  3. })
  4. export const actionExploreType = (newPosts, newPostsExploreCount) => ({
  5. type: 'ADD-EXPLORE-POSTS',
  6. newPosts,
  7. newPostsExploreCount,
  8. })
  9. export const actionExploreTypeCount = (explorePostsCount) => ({
  10. type: 'EXPLORE-COUNT',
  11. explorePostsCount,
  12. })