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

Function modMsg

src/redux/actions/msg/msg.js:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 })
31
32const modMsg = msgBody => dispatch =>
33 msgService
34 .mod(msgBody)
35 .then(msg => {
36 dispatch({
37 type: MOD_MSG,
38 payload: msg
39 })
40 return msg // 便于链式调用
41 })
42
43const delMsg = msgId => dispatch =>
44 msgService

Callers

nothing calls this directly

Calls 1

modMethod · 0.80

Tested by

no test coverage detected