export const getMovies = (text) => async (dispatch) => { try { const res = await axios.get( `https://api.themoviedb.org/4/search/movie?api_key=$