Proyectos de Subversion LeadersLinked - SPA

Rev

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

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