(state = initialPaths, action)
| 3 | const initialPaths = {strs: {}, objs: {}}; |
| 4 | |
| 5 | const paths = (state = initialPaths, action) => { |
| 6 | if (action.type === getAction('SET_PATHS')) { |
| 7 | return action.payload; |
| 8 | } |
| 9 | return state; |
| 10 | }; |
| 11 | |
| 12 | export default paths; |
nothing calls this directly
no test coverage detected
searching dependent graphs…