This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/assets/javascripts/components/actions/notifications.jsx

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
};
};