MCPcopy
hub / github.com/kenberkeley/react-demo / addMsg

Function addMsg

src/redux/actions/msg/msg.js:21–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }))
20
21const addMsg = msgBody => dispatch =>
22 msgService
23 .add(msgBody)
24 .then(msg => {
25 dispatch({
26 type: ADD_MSG,
27 payload: msg
28 })
29 return msg
30 })
31
32const modMsg = msgBody => dispatch =>
33 msgService

Callers

nothing calls this directly

Calls 1

addMethod · 0.80

Tested by

no test coverage detected