Rev 1126 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import { TOPIC_ACTIONS } from './topics.types'export const addTopic = (topic) => ({type: TOPIC_ACTIONS.ADD_TOPIC,payload: topic})export const addCapsule = (topicId, capsule) => ({type: TOPIC_ACTIONS.ADD_CAPSULE,payload: {topicId,capsule}})