diff --git a/frontend/js/components/shows/details/torrentsButton.js b/frontend/js/components/shows/details/torrentsButton.js index b739ac1..7e7c40b 100644 --- a/frontend/js/components/shows/details/torrentsButton.js +++ b/frontend/js/components/shows/details/torrentsButton.js @@ -19,10 +19,8 @@ export const EpisodeTorrentsButton = ({ season, episode }) => { ? state.show.show.seasons.get(season).get(episode).fetching : false ); - const torrents = useSelector((state) => - state.show.show.seasons.get(season).get(episode).torrents - ? state.show.show.seasons.get(season).get(episode).torrents - : [] + const torrents = useSelector( + (state) => state.show.show.seasons.get(season).get(episode).torrents ); const url = useSelector(