2016-09-12 19:20:55 +02:00
|
|
|
export const NOTIFICATION_DISMISS = 'NOTIFICATION_DISMISS';
|
2016-09-21 22:07:18 +02:00
|
|
|
export const NOTIFICATION_CLEAR = 'NOTIFICATION_CLEAR';
|
2016-09-12 19:20:55 +02:00
|
|
|
|
|
|
|
export function dismissNotification(notification) {
|
|
|
|
return {
|
|
|
|
type: NOTIFICATION_DISMISS,
|
|
|
|
notification: notification
|
|
|
|
};
|
|
|
|
};
|
2016-09-21 22:07:18 +02:00
|
|
|
|
|
|
|
export function clearNotifications() {
|
|
|
|
return {
|
|
|
|
type: NOTIFICATION_CLEAR
|
|
|
|
};
|
|
|
|
};
|