MCPcopy Create free account
hub / github.com/sshwsfc/xadmin / endpointReducer

Function endpointReducer

xadmin-dashboard/src/reducers.js:145–152  ·  view source on GitHub ↗
(state={}, action)

Source from the content-addressed store, hash-verified

143}
144
145const endpointReducer = (state={}, action) => {
146 switch(action.type) {
147 case '@@x-dashboard/UPDATE_ENDPOINT':
148 return action.payload
149 default:
150 return state
151 }
152}
153
154const selectCellReducer = (state=null, action) => {
155 if(action.type == '@@x-dashboard/SELECT_CELL') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected