mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
16 lines
341 B
JavaScript
16 lines
341 B
JavaScript
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
|
|
};
|
|
};
|