Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Autoría | Ultima modificación | Ver Log |

import { notificationActionTypes } from "./notification.types";

export const addNotification = (notification) => ({
  type: notificationActionTypes.ADD_NOTIFICATION,
  payload: notification,
});

export const removeNotification = (id) => ({
  type: notificationActionTypes.REMOVE_NOTIFICATION,
  payload: id,
});