Rev 5 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import { notificationActionTypes } from './notification.types'export const addNotification = ({ style, msg }) => ({type: notificationActionTypes.ADD_NOTIFICATION,payload: { style, msg }})export const removeNotification = (id) => ({type: notificationActionTypes.REMOVE_NOTIFICATION,payload: id})