|
Ultima modificación |
Ver Log
|
Rev |
Autor |
Línea Nro. |
Línea |
1 |
www |
1 |
import { notificationActionTypes } from "./notification.types";
|
|
|
2 |
|
|
|
3 |
export const addNotification = (notification) => ({
|
|
|
4 |
type: notificationActionTypes.ADD_NOTIFICATION,
|
|
|
5 |
payload: notification,
|
|
|
6 |
});
|
|
|
7 |
|
|
|
8 |
export const removeNotification = (id) => ({
|
|
|
9 |
type: notificationActionTypes.REMOVE_NOTIFICATION,
|
|
|
10 |
payload: id,
|
|
|
11 |
});
|