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

Function saveCurrentUser

src/models/user.js:33–35  ·  view source on GitHub ↗
(state, action)

Source from the content-addressed store, hash-verified

31 },
32 reducers: {
33 saveCurrentUser (state, action) {
34 return { ...state, currentUser: action.payload || {} };
35 },
36
37 },
38};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected