2016-07-19 17:11:22 -03:00

11 lines
262 B
JavaScript

export const ADD_MEDIA = 'ADD_MEDIA';
export const REMOVE_MEDIA = 'REMOVE_MEDIA';
export function addMedia(mediaProxy) {
return { type: ADD_MEDIA, payload: mediaProxy };
}
export function removeMedia(path) {
return { type: REMOVE_MEDIA, payload: path };
}