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

Function fetchMsg

src/redux/actions/msg/msg.js:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11// Action Creator
12// ================================
13const fetchMsg = queryBody => dispatch =>
14 msgService
15 .fetch(queryBody)
16 .then(msgs => dispatch({
17 type: FETCH_MSG,
18 payload: msgs
19 }))
20
21const addMsg = msgBody => dispatch =>
22 msgService

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.80

Tested by

no test coverage detected