Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1657 Rev 1662
Línea 56... Línea 56...
56
        throw new Error(err)
56
        throw new Error(err)
57
      })
57
      })
58
  }
58
  }
59
}
59
}
Línea 60... Línea 60...
60
 
60
 
61
export const removeComment = ({ feedId, commentId, totalComments }) => ({
61
export const removeComment = ({ feedId, commentId }) => ({
62
  type: feedActionTypes.REMOVE_COMMENT,
62
  type: feedActionTypes.REMOVE_COMMENT,
63
  payload: { feedId, commentId, totalComments }
63
  payload: { feedId, commentId }
Línea 64... Línea 64...
64
})
64
})
65
 
65
 
66
export const addComment = ({ feedId, comment, totalComments }) => ({
66
export const addComment = ({ feedId, comment }) => ({
67
  type: feedActionTypes.ADD_COMMENT,
67
  type: feedActionTypes.ADD_COMMENT,