Favourite Movies

Tests
Louison PARANT 2 years ago
parent 3d67df8e05
commit 71d4de0057

@ -55,8 +55,6 @@ export const setinfoMovie = (TrendingMovieList: Movie[]) => {
};
}
export const getTrendingID = () => {
// @ts-ignore
return async dispatch => {
@ -114,7 +112,6 @@ export const removeMovieTrending = (movie: Movie) => {
}
}
export const addMovieToWatchLater = (movie : Movie) => {
return{
type: ADD_WATCHLATER,

@ -1,4 +1,3 @@
export const FETCH_TRENDING_ID : string = "FETCH_TRENDING_ID";
export const FETCH_TRENDING_MOVIE: string = "FETCH_TRENDING_MOVIE";
export const POP_FIRST_TRENDING: string = "POP_FIRST_TRENDING";

@ -42,5 +42,4 @@ export default appReducer = (state = initialState, action) => {
default:
return state;
}
}
}

@ -21,7 +21,6 @@ import * as url from "url";
import moment from 'moment';
import CardsSwipe from 'react-native-cards-swipe';
export default function HomeScreen({navigation}: RootStackScreenProps<'Home'>) {
// @ts-ignore
const trendingMovies = useSelector(state => state.appReducer.trendingMovies);

Loading…
Cancel
Save