From 478b45977d672e111d0a645f4e429087d869e65e Mon Sep 17 00:00:00 2001
From: httpjamesm
{data.ratings.avg}
Avg. rating
{data.title}
-
+
{data.status.id !== 'released' && (
{`${crewType.type.category}: `}
@@ -147,7 +153,7 @@ const Basic = ({ data, className }: Props) => {
))}
- );
-};
+ )
+}
-export default Basic;
+export default Basic
diff --git a/src/components/title/Media.tsx b/src/components/title/Media.tsx
index 583aa17..5ef8ade 100644
--- a/src/components/title/Media.tsx
+++ b/src/components/title/Media.tsx
@@ -1,37 +1,39 @@
-import Image from 'next/future/image';
-import Link from 'next/link';
-import { NextRouter } from 'next/router';
-import { Media } from '../../interfaces/shared/title';
-import { modifyIMDbImg } from '../../utils/helpers';
+import Image from 'next/future/image'
+import Link from 'next/link'
+import { NextRouter } from 'next/router'
+import { Media } from '../../interfaces/shared/title'
+import { getProxiedIMDbImgUrl, modifyIMDbImg } from '../../utils/helpers'
-import styles from '../../styles/modules/components/title/media.module.scss';
+import styles from '../../styles/modules/components/title/media.module.scss'
type Props = {
- className: string;
- media: Media;
- router: NextRouter;
-};
+ className: string
+ media: Media
+ router: NextRouter
+}
const Media = ({ className, media, router }: Props) => {
return (
- libremdb connects to 'media-amazon.com' and 'media-imdb.com' for
- fetching images and videos. So, Amazon might log your IP
- address, and other information(such as http headers) sent by
- your browser.
- Videos
+ Videos
- Information collected by other services
-
-