Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 5 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1668 stevensc 1
import { notificationActionTypes } from './notification.types'
5 stevensc 2
 
1668 stevensc 3
export const addNotification = ({ style, msg }) => ({
5 stevensc 4
  type: notificationActionTypes.ADD_NOTIFICATION,
1668 stevensc 5
  payload: { style, msg }
6
})
5 stevensc 7
 
8
export const removeNotification = (id) => ({
9
  type: notificationActionTypes.REMOVE_NOTIFICATION,
1668 stevensc 10
  payload: id
11
})