17 lines
323 B
JavaScript
17 lines
323 B
JavaScript
export const selectPoster = (movieId, posterId) => ({
|
|
type: "SELECT_POSTER",
|
|
movieId,
|
|
posterId,
|
|
});
|
|
|
|
export const deselectPoster = (movieId, posterId) => ({
|
|
type: "DESELECT_POSTER",
|
|
movieId,
|
|
posterId,
|
|
});
|
|
|
|
export const removePoster = (movieId, posterId) => ({
|
|
type: "REMOVE_POSTER",
|
|
movieId,
|
|
posterId,
|
|
}); |