diff --git a/src/routes/list/+page.svelte b/src/routes/list/+page.svelte index 88ab415..949b4a9 100644 --- a/src/routes/list/+page.svelte +++ b/src/routes/list/+page.svelte @@ -2,6 +2,7 @@ import { useSearchParams } from "runed/kit"; import { onMount } from "svelte"; import { z } from "zod"; + import { browser } from "$app/environment"; import { invalidate } from "$app/navigation"; import SongEntry from "$lib/components/SongEntry.svelte"; import { db as clientDb } from "$lib/db/client-db"; @@ -208,8 +209,12 @@ {/if} -{#if data.malResponse?.paging?.next} +{#if browser && data.malResponse?.paging?.next}
More results exist on MAL, but pagination is not wired yet.
{/if} + +{#if !browser} + Loading stuff... +{/if}