replies timeline only, appview-less bluesky client

fix: show fetch error on first load instead of showing all complete

ptr.pet 11a6e632 b7dd46e0

verified
Changed files
+6 -2
src
routes
+6 -2
src/routes/+page.svelte
···
if (loading || $accounts.length === 0) return;
loading = true;
+
loaderState.status = 'LOADING';
+
try {
await fetchTimelines($accounts);
loaderState.loaded();
} catch (error) {
loadError = `${error}`;
loaderState.error();
-
} finally {
loading = false;
-
// if (cursors.values().every((cursor) => cursor.end)) loaderState.complete();
+
return;
}
+
+
loading = false;
+
if (cursors.values().every((cursor) => cursor.end)) loaderState.complete();
};
onMount(async () => {