Skip to content

Commit

Permalink
added dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
amolsasane committed Jul 5, 2024
1 parent 1b0af25 commit 8303e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useMovieTrailer.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const useMovieTrailer = (id) => {

useEffect(() => {
getMovieVideos();
}, [dispatch, id]);
}, [dispatch, id, getMovieVideos]);
};

export default useMovieTrailer;

0 comments on commit 8303e91

Please sign in to comment.