You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MovieFinder/redux/actions/actionGetTrendingMovie.ts

11 lines
248 B

import {FETCH_TRENDINGMOVIE} from '../constants';
import Movie from "../../components/Movie";
export const setTrendingMovieList = (trendingList: Movie[])=> {
return {
type: FETCH_TRENDINGMOVIE,
payload: trendingList,
};
}