From f895ec294fc1771a2e7429d4c56ab1ea602ad1b9 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Fri, 15 Mar 2024 23:15:50 -0400 Subject: [PATCH] Error: Docker build failed --- src/pages/TopFlix.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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] }`; }