diff --git a/src/lib/tmdb.ts b/src/lib/tmdb.ts index 939ff7a..b5bf627 100644 --- a/src/lib/tmdb.ts +++ b/src/lib/tmdb.ts @@ -421,6 +421,6 @@ export async function getPerson( }); if (!response.ok) { throw new Error('Failed to fetch person details'); - } - return await response.json(); -} \ No newline at end of file + } + return await response.json(); +} diff --git a/src/routes/[type]/[id]/credits/+page.svelte b/src/routes/[type]/[id]/credits/+page.svelte index 0e91c5f..adcbfd3 100644 --- a/src/routes/[type]/[id]/credits/+page.svelte +++ b/src/routes/[type]/[id]/credits/+page.svelte @@ -4,7 +4,6 @@ import * as Card from '$lib/components/ui/card'; export let data: PageData; - console.log(data); @@ -31,11 +30,11 @@
-

+

{data.media.title || data.media.name || data.media.original_name}

-

+

"{data.media.overview}"

diff --git a/src/routes/collection/[id]/+page.svelte b/src/routes/collection/[id]/+page.svelte index 67cc976..b5b0b74 100644 --- a/src/routes/collection/[id]/+page.svelte +++ b/src/routes/collection/[id]/+page.svelte @@ -21,7 +21,7 @@ {data.details.name} -

+

"{data.details.overview}"