Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1668 | 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
});