diff --git a/src/pages/TopFlix.tsx b/src/pages/TopFlix.tsx index 2f67badb..d0d03e4e 100644 --- a/src/pages/TopFlix.tsx +++ b/src/pages/TopFlix.tsx @@ -43,16 +43,12 @@ function isShowOrMovie(tmdbFullId: string): "series" | "movie" | "unknown" { function directLinkToContent(tmdbFullId: string) { if (isShowOrMovie(tmdbFullId) === "series") { - return `/media/tmdb-tv-${ - tmdbFullId.split("-")[1] - }#/media/tmdb-tv-${ + return `/media/tmdb-tv-${tmdbFullId.split("-")[1]}#/media/tmdb-tv-${ tmdbFullId.split("-")[1] }`; } if (isShowOrMovie(tmdbFullId) === "movie") { - return `/media/tmdb-movie-${ - tmdbFullId.split("-")[1] - }#/media/tmdb-movie-${ + return `/media/tmdb-movie-${tmdbFullId.split("-")[1]}#/media/tmdb-movie-${ tmdbFullId.split("-")[1] }`; }