Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 7386 | | Comparar con el anterior | Ultima modificación | Ver Log |

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