(state={}, action)
| 12 | } |
| 13 | |
| 14 | const paramsReducer = (state={}, action) => { |
| 15 | const { type, payload, params } = action |
| 16 | switch(type) { |
| 17 | case '@@x-dashboard/UPDATE_DASHBOARD': |
| 18 | return params |
| 19 | // case REHYDRATE: |
| 20 | // return action.payload.dashboard.params |
| 21 | default: |
| 22 | return state |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | const cellsReducer = (state={}, action) => { |
| 27 | const { type, key, params, Container } = action |
nothing calls this directly
no outgoing calls
no test coverage detected