diff --git a/redux/actions/actionGetTrendingID.tsx b/redux/actions/actionGetTrendingID.tsx index 3c092bc..775b491 100644 --- a/redux/actions/actionGetTrendingID.tsx +++ b/redux/actions/actionGetTrendingID.tsx @@ -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, diff --git a/redux/constants.tsx b/redux/constants.tsx index f491306..cd11d2d 100644 --- a/redux/constants.tsx +++ b/redux/constants.tsx @@ -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"; diff --git a/redux/reducers/appReducer.tsx b/redux/reducers/appReducer.tsx index cb767ab..a044e06 100644 --- a/redux/reducers/appReducer.tsx +++ b/redux/reducers/appReducer.tsx @@ -42,5 +42,4 @@ export default appReducer = (state = initialState, action) => { default: return state; } - -} +} \ No newline at end of file diff --git a/screens/HomeScreen.tsx b/screens/HomeScreen.tsx index 4b676db..d88f366 100644 --- a/screens/HomeScreen.tsx +++ b/screens/HomeScreen.tsx @@ -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);