()
| 5 | import { fetchAsyncMovies, fetchAsyncShows } from '../../features/movies/slice' |
| 6 | |
| 7 | const Home = () => { |
| 8 | const dispatch = useDispatch() |
| 9 | useEffect(() => { |
| 10 | dispatch(fetchAsyncMovies()) |
| 11 | dispatch(fetchAsyncShows()) |
| 12 | }, [dispatch]) |
| 13 | return ( |
| 14 | <div> |
| 15 | <div className="banner-img"> |
| 16 | <MovieListing /> |
| 17 | </div> |
| 18 | </div> |
| 19 | ) |
| 20 | } |
| 21 | |
| 22 | export default Home |
nothing calls this directly
no outgoing calls
no test coverage detected