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