MCPcopy
hub / github.com/Hashnode/mern-starter / addPosts

Function addPosts

client/modules/Post/PostActions.js:28–33  ·  view source on GitHub ↗
(posts)

Source from the content-addressed store, hash-verified

26}
27
28export function addPosts(posts) {
29 return {
30 type: ADD_POSTS,
31 posts,
32 };
33}
34
35export function fetchPosts() {
36 return (dispatch) => {

Callers 2

fetchPostsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected