about summary refs log tree commit diff
path: root/app/assets/javascripts/components/actions/notifications.jsx
blob: f19a356c2674996b2bd57bab9b6c72f591152a2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export const NOTIFICATION_DISMISS = 'NOTIFICATION_DISMISS';
export const NOTIFICATION_CLEAR   = 'NOTIFICATION_CLEAR';

export function dismissNotification(notification) {
  return {
    type: NOTIFICATION_DISMISS,
    notification: notification
  };
};

export function clearNotifications() {
  return {
    type: NOTIFICATION_CLEAR
  };
};