From 5eca07724e23c8b72b1afba10b9da29a45d05f5f Mon Sep 17 00:00:00 2001 From: astra Date: Tue, 22 Apr 2025 03:53:05 +0000 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}