Files
Watcharr/src/lib/content/SimilarContent.svelte
T
IRHM 2202b11e39 fix all linting issues and upgrade the rest of devDependencies
now i should probably test the whole app waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaauuuuuuuuuugugghghghghghghghghg
2026-07-30 02:42:35 +00:00

20 lines
470 B
Svelte

<script lang="ts">
import type { Media } from "@/types";
import HorizontalList from "../HorizontalList.svelte";
import Poster from "../poster/Poster.svelte";
interface Props {
similar: Media[];
}
let { similar }: Props = $props();
</script>
{#if similar?.length > 0}
<HorizontalList title="Similar">
{#each similar as content, i (content.ids)}
<Poster media={content} small={true} bind:watched={similar[i].watched} />
{/each}
</HorizontalList>
{/if}