Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1644 | Rev 1647 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1644 Rev 1645
Línea 9... Línea 9...
9
 
9
 
10
const reportReducer = (state = reportState, action) => {
10
const reportReducer = (state = reportState, action) => {
Línea 11... Línea 11...
11
  const { type, payload } = action
11
  const { type, payload } = action
12
 
12
 
13
  switch (type) {
13
  switch (type) {
14
    case [actionsTypes.CLOSE_MODAL]: {
14
    case actionsTypes.CLOSE_MODAL: {
Línea 15... Línea 15...
15
      return { ...state, ...reportState }
15
      return { ...state, ...reportState }
16
    }
16
    }
Línea 17... Línea 17...
17
 
17
 
18
    case [actionsTypes.SHOW_MODAL]: {
18
    case actionsTypes.SHOW_MODAL: {
19
      console.log('On reducer')
19
      console.log('On reducer')