Proyectos de Subversion LeadersLinked - Backend

Rev

Ir a la última revisión | Autoría | Comparar con el anterior | 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,
});