diff --git a/src/actions/index.js b/src/actions/index.js index 074b34d..c1c1263 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -16,7 +16,7 @@ export const getMovies = () => dispatch => { return axios .get('https://cors-anywhere.herokuapp.com/https://swapi.co/api/films') - .then(res => { + .then(res => { console.log(res.data) addMovieListToLocalStorage(res.data.results) dispatch(setMovies(res.data.results)) })