Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
21
const
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
32
const
modMsg = msgBody => dispatch =>
33
msgService
Callers
nothing calls this directly
Calls
1
add
Method · 0.80
Tested by
no test coverage detected