From 5fbb29f7fb9be8d4940551ce1e1e0c1703a363b6 Mon Sep 17 00:00:00 2001 From: ari Date: Mon, 21 Apr 2025 23:32:59 -0400 Subject: [PATCH] Distance tweaks for hidden loads --- src/App.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.svelte b/src/App.svelte index 94367b1..9e36d30 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -18,6 +18,7 @@ // Infinite loading function const onInfinite = ({ detail: { loaded, complete } } : { detail : { loaded : () => void, complete : () => void}}) => { getNextPosts().then((newPosts) => { + console.log("Loading next posts..."); if (newPosts.length > 0) { posts = [...posts, ...newPosts]; loaded(); @@ -53,7 +54,7 @@ {/each}