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

Function deletePost

client/modules/Post/PostActions.js:49–54  ·  view source on GitHub ↗
(cuid)

Source from the content-addressed store, hash-verified

47}
48
49export function deletePost(cuid) {
50 return {
51 type: DELETE_POST,
52 cuid,
53 };
54}
55
56export function deletePostRequest(cuid) {
57 return (dispatch) => {

Callers 2

deletePostRequestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected