I\'m working with tmdb api, i\'ve been using react\'s useEffect and useContext for minor stuffs and it works. I decided to use api and it has been going into this infinite loop