You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
497 B
JavaScript
23 lines
497 B
JavaScript
import EntryActionTypes from '../../constants/EntryActionTypes';
|
|
|
|
export const handleNotificationCreate = (notification) => ({
|
|
type: EntryActionTypes.NOTIFICATION_CREATE_HANDLE,
|
|
payload: {
|
|
notification,
|
|
},
|
|
});
|
|
|
|
export const deleteNotification = (id) => ({
|
|
type: EntryActionTypes.NOTIFICATION_DELETE,
|
|
payload: {
|
|
id,
|
|
},
|
|
});
|
|
|
|
export const handleNotificationDelete = (notification) => ({
|
|
type: EntryActionTypes.NOTIFICATION_DELETE_HANDLE,
|
|
payload: {
|
|
notification,
|
|
},
|
|
});
|