MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / saveRes

Function saveRes

src/models/dataSource.js:39–44  ·  view source on GitHub ↗
(state, action)

Source from the content-addressed store, hash-verified

37
38 reducers: {
39 saveRes (state, action) {
40 return {
41 ...state,
42 res: action.payload || null
43 };
44 },
45 clearRes (state, action) {
46 return {
47 ...state,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected