WikiEducationFoundation/WikiEduDashboard

View on GitHub
app/assets/javascripts/actions/notification_actions.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { ADD_NOTIFICATION, REMOVE_NOTIFICATION } from '../constants';

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

export const removeNotification = notification => ({
  type: REMOVE_NOTIFICATION,
  notification
});