mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 12:48:07 +01:00
15 lines
341 B
JavaScript
15 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
|
|
};
|
|
};
|