From 7805c17c2d513ea32421cab326b2cb98e7a2512e Mon Sep 17 00:00:00 2001 From: Konstantin Lysenko Date: Thu, 21 Dec 2023 16:11:08 +0200 Subject: [PATCH] fix compile error --- src/pages/MovieDetails.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/MovieDetails.jsx b/src/pages/MovieDetails.jsx index ea6e521..229ffbe 100644 --- a/src/pages/MovieDetails.jsx +++ b/src/pages/MovieDetails.jsx @@ -21,7 +21,7 @@ const MovieDetails = () => { useEffect(() => { if (!movieId) return; getSelectedMovie(); - }, [movieId]); + }); const getSelectedMovie = async () => { try {