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}