diff --git a/src/components/MovieDetails/index.tsx b/src/components/MovieDetails/index.tsx index c7957d554..f4b19d00a 100644 --- a/src/components/MovieDetails/index.tsx +++ b/src/components/MovieDetails/index.tsx @@ -491,98 +491,106 @@ const MovieDetails: React.FC = ({ movie }) => { /> ))} /> -
-
- - - - - - 0 && ( + <> +
+
+ - - - - -
-
- ( - + + + + + + + + +
+
+ ( + + ))} /> - ))} - /> -
-
- - - - - - + )} + {(similar?.results ?? []).length > 0 && ( + <> + - ( - + + + + + + + + +
+
+ ( + + ))} /> - ))} - /> + + )}
); diff --git a/src/components/TvDetails/index.tsx b/src/components/TvDetails/index.tsx index 11dfde4b2..70afd95ad 100644 --- a/src/components/TvDetails/index.tsx +++ b/src/components/TvDetails/index.tsx @@ -440,95 +440,103 @@ const TvDetails: React.FC = ({ tv }) => { /> ))} /> -
-
- - - - - - 0 && ( + <> + - ( - + + + + + + + + +
+
+ ( + + ))} /> - ))} - /> -
- -
- ( - + )} + {(similar?.results ?? []).length > 0 && ( + <> +
+ +
+ ( + + ))} /> - ))} - /> + + )}
);