Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1668 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1668 Rev 3719
Línea 1... Línea 1...
1
import { notificationActionTypes } from './notification.types'
1
import { notificationActionTypes } from './notification.types';
2
 
2
 
3
export const addNotification = ({ style, msg }) => ({
3
export const addNotification = ({ style, msg }) => ({
4
  type: notificationActionTypes.ADD_NOTIFICATION,
4
  type: notificationActionTypes.ADD_NOTIFICATION,
5
  payload: { style, msg }
5
  payload: { style, msg }
6
})
6
});
7
 
7
 
8
export const removeNotification = (id) => ({
8
export const removeNotification = (id) => ({
9
  type: notificationActionTypes.REMOVE_NOTIFICATION,
9
  type: notificationActionTypes.REMOVE_NOTIFICATION,
10
  payload: id
10
  payload: id
11
})
11
});