MCPcopy Create free account
hub / github.com/codemistic/Web-Development / Home

Function Home

movieapp/src/componenets/Home/Home.js:7–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import { fetchAsyncMovies, fetchAsyncShows } from '../../features/movies/slice'
6
7const 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
22export default Home

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected